Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.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.001275/0.001275, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001423/0.001423, allocations: 213.3 kB / 23.78 MB, free: 4.555 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.516/1.516, allocations: 230.6 MB / 257.6 MB, free: 7.805 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 0.9875/0.9875, allocations: 150 MB / 464 MB, free: 10.22 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.Change,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Change",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Change",fmuType="cs",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.002096/0.002096, allocations: 67.5 kB / 0.642 GB, free: 9.926 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2203, allocations: 89.18 MB / 0.7291 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Change): time 0.00306/0.2233, allocations: 0.701 MB / 0.7297 GB, free: 124 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002249/0.2256, allocations: 1.174 MB / 0.7309 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.766e-05/0.2257, allocations: 0 / 0.7309 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.749e-05/0.2257, allocations: 3.938 kB / 0.7309 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.767e-05/0.2258, allocations: 7.938 kB / 0.7309 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006624/0.2265, allocations: 143.4 kB / 0.731 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002494/0.2267, allocations: 115.8 kB / 0.7311 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.2268, allocations: 11.98 kB / 0.7312 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.227, allocations: 43.92 kB / 0.7312 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.2271, allocations: 55.8 kB / 0.7312 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.549e-05/0.2272, allocations: 12 kB / 0.7313 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.917e-05/0.2272, allocations: 16 kB / 0.7313 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.635e-05/0.2273, allocations: 19.92 kB / 0.7313 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.813e-05/0.2274, allocations: 39.89 kB / 0.7313 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.2276, allocations: 107.9 kB / 0.7314 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2276, allocations: 0 / 0.7314 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2276, allocations: 0 / 0.7314 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.2276, allocations: 0 / 0.7314 GB, free: 14.37 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006757/0.2283, allocations: 343.8 kB / 0.7318 GB, free: 14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.2283, allocations: 8.031 kB / 0.7318 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.519e-05/0.2283, allocations: 192 / 0.7318 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.463e-05/0.2284, allocations: 42.69 kB / 0.7318 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.237e-05/0.2284, allocations: 8.891 kB / 0.7318 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.2286, allocations: 118.4 kB / 0.7319 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.2286, allocations: 8.375 kB / 0.7319 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.2286, allocations: 8.375 kB / 0.7319 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.2289, allocations: 65.97 kB / 0.732 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.2289, allocations: 7.984 kB / 0.732 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.2289, allocations: 0 / 0.732 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.2289, allocations: 4 kB / 0.732 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.2291, allocations: 43.89 kB / 0.7321 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006442/0.2297, allocations: 275.9 kB / 0.7323 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.23, allocations: 58.61 kB / 0.7324 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.2301, allocations: 32.95 kB / 0.7324 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.853e-05/0.2301, allocations: 7.938 kB / 0.7324 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002916/0.2304, allocations: 95.25 kB / 0.7325 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.2304, allocations: 0 / 0.7325 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004869/0.2309, allocations: 133.6 kB / 0.7326 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.231, allocations: 55.47 kB / 0.7327 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.2311, allocations: 127.3 kB / 0.7328 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.2311, allocations: 41.58 kB / 0.7329 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/0.2312, allocations: 88.14 kB / 0.7329 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.2312, allocations: 15.91 kB / 0.733 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-05/0.2313, allocations: 41.69 kB / 0.733 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.2314, allocations: 318.8 kB / 0.7333 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.2316, allocations: 81.66 kB / 0.7334 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.2318, allocations: 121.1 kB / 0.7335 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.2321, allocations: 142.2 kB / 0.7336 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2321, allocations: 4 kB / 0.7336 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000502/0.2326, allocations: 240.8 kB / 0.7339 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.969e-05/0.2327, allocations: 40.17 kB / 0.7339 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2327, allocations: 4 kB / 0.7339 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.2327, allocations: 3.984 kB / 0.7339 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.653e-05/0.2328, allocations: 8 kB / 0.7339 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.2328, allocations: 4 kB / 0.7339 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.233, allocations: 39.84 kB / 0.734 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.233, allocations: 12 kB / 0.734 GB, free: 11.51 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: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001305/0.2332, allocations: 127.9 kB / 0.7341 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.2332, allocations: 11.95 kB / 0.7341 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.336e-05/0.2332, allocations: 12.38 kB / 0.7341 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.2332, allocations: 0 / 0.7341 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2332, allocations: 0 / 0.7341 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2332, allocations: 0 / 0.7341 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005203/0.2338, allocations: 349.4 kB / 0.7344 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2338, allocations: 0 / 0.7344 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.659e-05/0.2338, allocations: 8.062 kB / 0.7345 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.2338, allocations: 4 kB / 0.7345 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.2338, allocations: 3.984 kB / 0.7345 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2338, allocations: 4 kB / 0.7345 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.2338, allocations: 3.938 kB / 0.7345 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003219/0.2342, allocations: 207.4 kB / 0.7347 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.168e-05/0.2342, allocations: 11.95 kB / 0.7347 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.2342, allocations: 0 / 0.7347 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.76e-05/0.2343, allocations: 11.98 kB / 0.7347 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.2343, allocations: 15.86 kB / 0.7347 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.2344, allocations: 8 kB / 0.7347 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.302e-05/0.2344, allocations: 90.12 kB / 0.7348 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2344, allocations: 0 / 0.7348 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000302/0.2347, allocations: 31.92 kB / 0.7348 GB, free: 10.56 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 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0007224/0.2354, allocations: 0.7359 MB / 0.7355 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004496/0.2359, allocations: 200.9 kB / 0.7357 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2359, allocations: 0 / 0.7357 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.236, allocations: 39.89 kB / 0.7358 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.2363, allocations: 19.92 kB / 0.7358 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.2388, allocations: 1.811 MB / 0.7376 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.01e-05/0.2389, allocations: 67.34 kB / 0.7376 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.064e-05/0.2389, allocations: 11.84 kB / 0.7376 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.352e-05/0.239, allocations: 19.44 kB / 0.7377 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of SimCode: time 5.71e-07/0.239, allocations: 0 / 0.7377 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02702/0.266, allocations: 2.836 MB / 0.7404 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.55, allocations: 4.391 kB / 0.7404 GB, free: 4.789 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Change.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.500578478095122] Failed to read output from testmodel.py, exit status != 0: 11.709783880971372 11.72695636 11.495919757 Calling exit ...