Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 119 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002446/0.002446, allocations: 221.3 kB / 23.01 MB, free: 5.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.007/1.007, allocations: 150 MB / 463.2 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 70.48 kB / 0.6413 GB, free: 10.35 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2108, allocations: 89.17 MB / 0.7284 GB, free: 1.242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002013/0.2128, allocations: 0.6412 MB / 0.729 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001709/0.2145, allocations: 1.225 MB / 0.7302 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.814e-05/0.2146, allocations: 0 / 0.7302 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.655e-05/0.2146, allocations: 3.938 kB / 0.7302 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.7e-05/0.2147, allocations: 11.91 kB / 0.7302 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006619/0.2153, allocations: 217 kB / 0.7304 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000278/0.2156, allocations: 175.7 kB / 0.7306 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.929e-05/0.2157, allocations: 11.98 kB / 0.7306 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.2158, allocations: 67.89 kB / 0.7306 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.216, allocations: 63.84 kB / 0.7307 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.216, allocations: 19.94 kB / 0.7307 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.732e-05/0.2161, allocations: 27.98 kB / 0.7308 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.976e-05/0.2161, allocations: 4 kB / 0.7308 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.291e-05/0.2162, allocations: 67.81 kB / 0.7308 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.2164, allocations: 147.8 kB / 0.731 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2164, allocations: 0 / 0.731 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2164, allocations: 0 / 0.731 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.2164, allocations: 0 / 0.731 GB, free: 14.57 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005394/0.217, allocations: 361.5 kB / 0.7313 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.217, allocations: 15.97 kB / 0.7313 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.59e-05/0.2171, allocations: 38.73 kB / 0.7314 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.2171, allocations: 8.938 kB / 0.7314 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.2172, allocations: 114.5 kB / 0.7315 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.2172, allocations: 4.375 kB / 0.7315 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.2173, allocations: 12.38 kB / 0.7315 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.2174, allocations: 50.23 kB / 0.7315 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.2174, allocations: 7.922 kB / 0.7315 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.2174, allocations: 4 kB / 0.7316 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.2174, allocations: 0 / 0.7316 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.402e-05/0.2174, allocations: 15.94 kB / 0.7316 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005096/0.218, allocations: 319.8 kB / 0.7319 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.298e-05/0.218, allocations: 34.56 kB / 0.7319 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.931e-05/0.2181, allocations: 12.86 kB / 0.7319 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.2181, allocations: 4 kB / 0.7319 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.2183, allocations: 87.34 kB / 0.732 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.2183, allocations: 0 / 0.732 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002581/0.2186, allocations: 105.6 kB / 0.7321 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.2186, allocations: 51.41 kB / 0.7322 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.2187, allocations: 118.1 kB / 0.7323 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.2188, allocations: 33.7 kB / 0.7323 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.995e-05/0.2188, allocations: 96.12 kB / 0.7324 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.2189, allocations: 12 kB / 0.7324 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.252e-05/0.2189, allocations: 57.56 kB / 0.7325 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.2191, allocations: 322.8 kB / 0.7328 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.2192, allocations: 59.97 kB / 0.7328 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.2194, allocations: 88.27 kB / 0.7329 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.2196, allocations: 163.5 kB / 0.7331 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.2196, allocations: 0 / 0.7331 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004291/0.22, allocations: 268.8 kB / 0.7333 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.204e-05/0.2201, allocations: 69.58 kB / 0.7334 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2201, allocations: 8.125 kB / 0.7334 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.2201, allocations: 0 / 0.7334 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.545e-05/0.2201, allocations: 7.938 kB / 0.7334 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.2201, allocations: 0 / 0.7334 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003235/0.2205, allocations: 55.89 kB / 0.7335 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/0.2205, allocations: 11.98 kB / 0.7335 GB, free: 11.73 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001118/0.2206, allocations: 132.5 kB / 0.7336 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.2206, allocations: 0 / 0.7336 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.2206, allocations: 16.36 kB / 0.7336 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2206, allocations: 0 / 0.7336 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2207, allocations: 0 / 0.7336 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.2207, allocations: 0 / 0.7336 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.2208, allocations: 152.6 kB / 0.7338 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2208, allocations: 0 / 0.7338 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.404e-06/0.2208, allocations: 0 / 0.7338 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2208, allocations: 7.984 kB / 0.7338 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.2208, allocations: 8 kB / 0.7338 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2208, allocations: 96 / 0.7338 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2208, allocations: 7.875 kB / 0.7338 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.221, allocations: 109 kB / 0.7339 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.212e-05/0.221, allocations: 7.953 kB / 0.7339 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.221, allocations: 4 kB / 0.7339 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.845e-05/0.221, allocations: 0 / 0.7339 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.2211, allocations: 7.984 kB / 0.7339 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.2211, allocations: 4 kB / 0.7339 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.91e-05/0.2211, allocations: 91.27 kB / 0.734 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2211, allocations: 0 / 0.734 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002307/0.2214, allocations: 32 kB / 0.734 GB, free: 11.09 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004956/0.2219, allocations: 0.6581 MB / 0.7347 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00034/0.2222, allocations: 219.2 kB / 0.7349 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2222, allocations: 0 / 0.7349 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.743e-05/0.2223, allocations: 27.92 kB / 0.7349 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.2225, allocations: 16.89 kB / 0.7349 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.2246, allocations: 1.718 MB / 0.7366 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.2249, allocations: 0.6885 MB / 0.7373 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.098e-05/0.2249, allocations: 4 kB / 0.7373 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.36e-05/0.225, allocations: 27.42 kB / 0.7373 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/0.225, allocations: 0 / 0.7373 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03072/0.2557, allocations: 3.013 MB / 0.7402 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/10.97, allocations: 9.469 kB / 0.7402 GB, free: 4.668 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.952554657000292] Failed to read output from testmodel.py, exit status != 0: 11.076668249999784 11.105343855 10.883817791 Calling exit ...