Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0007658/0.0007658, allocations: 80.52 kB / 19.96 MB, free: 4.578 MB / 18.57 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.0007799/0.0007799, allocations: 173.2 kB / 23.24 MB, free: 1.305 MB / 18.57 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 0.8696/0.8696, allocations: 177.1 MB / 203.6 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.786/1.786, allocations: 389.6 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.526e-05, allocations: 2.281 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001175/0.001191, allocations: 0.7286 MB / 1.001 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.002201, allocations: 1.167 MB / 1.003 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.221e-05/0.002244, allocations: 0 / 1.003 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.501e-05/0.002269, allocations: 11.86 kB / 1.003 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.192e-05/0.002331, allocations: 7.922 kB / 1.003 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.002692, allocations: 134.5 kB / 1.003 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.002824, allocations: 119.7 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.387e-05/0.002908, allocations: 11.98 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.455e-05/0.003003, allocations: 71.89 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.028e-05/0.003073, allocations: 39.86 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.003094, allocations: 15.94 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.929e-05/0.003143, allocations: 16 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.003162, allocations: 11.98 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.652e-05/0.003209, allocations: 35.91 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.003359, allocations: 131.6 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.003361, allocations: 0 / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.01e-07/0.003361, allocations: 0 / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.003365, allocations: 0 / 1.003 GB, free: 11.02 MB / 0.9636 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.0004863/0.003851, allocations: 343.8 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.003888, allocations: 13.34 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.518e-05/0.003913, allocations: 30.75 kB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.003949, allocations: 12.88 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.837e-05/0.004028, allocations: 113.7 kB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.00404, allocations: 8.375 kB / 1.004 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.004055, allocations: 8.375 kB / 1.004 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.00418, allocations: 66.16 kB / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.004188, allocations: 192 / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.004196, allocations: 4.375 kB / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.004202, allocations: 8.125 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.355e-05/0.004295, allocations: 35.95 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.004655, allocations: 275.9 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.004775, allocations: 58.55 kB / 1.004 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.733e-05/0.004832, allocations: 32.95 kB / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.004841, allocations: 11.94 kB / 1.004 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001381/0.004979, allocations: 83.36 kB / 1.004 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 2.665e-06/0.004981, allocations: 3.984 kB / 1.004 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0002671/0.005248, allocations: 141.5 kB / 1.004 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.005278, allocations: 51.41 kB / 1.004 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.732e-05/0.005346, allocations: 125.8 kB / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.005364, allocations: 29.7 kB / 1.005 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.323e-05/0.005407, allocations: 100 kB / 1.005 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.005425, allocations: 19.97 kB / 1.005 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.005474, allocations: 41.69 kB / 1.005 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.315e-05/0.005547, allocations: 318.8 kB / 1.005 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.005658, allocations: 77.66 kB / 1.005 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.005767, allocations: 121.9 kB / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.005917, allocations: 141.9 kB / 1.005 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.005919, allocations: 0 / 1.005 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002618/0.006181, allocations: 248.8 kB / 1.006 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.006205, allocations: 29.7 kB / 1.006 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.006209, allocations: 4 kB / 1.006 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.006218, allocations: 4.125 kB / 1.006 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.397e-05/0.006272, allocations: 15.92 kB / 1.006 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.006278, allocations: 4 kB / 1.006 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.006384, allocations: 39.95 kB / 1.006 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.006398, allocations: 8 kB / 1.006 GB, free: 8.176 MB / 0.9636 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 6.309e-05/0.006461, allocations: 124.5 kB / 1.006 GB, free: 8.047 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.797e-06/0.006469, allocations: 11.89 kB / 1.006 GB, free: 8.035 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.968e-05/0.006489, allocations: 12.44 kB / 1.006 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.006491, allocations: 4 kB / 1.006 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.006495, allocations: 0 / 1.006 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.006498, allocations: 0 / 1.006 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.006782, allocations: 341.5 kB / 1.006 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.006784, allocations: 3.984 kB / 1.006 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.355e-05/0.006808, allocations: 8 kB / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.006809, allocations: 0 / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.006816, allocations: 4 kB / 1.006 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.006817, allocations: 3.984 kB / 1.006 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.006818, allocations: 4 kB / 1.006 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.006975, allocations: 215.7 kB / 1.006 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.336e-06/0.006983, allocations: 7.953 kB / 1.006 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.006994, allocations: 0 / 1.006 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.434e-05/0.007038, allocations: 11.92 kB / 1.006 GB, free: 7.367 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.007072, allocations: 8 kB / 1.006 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.007078, allocations: 3.984 kB / 1.006 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.194e-05/0.00711, allocations: 95.28 kB / 1.006 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.00711, allocations: 0 / 1.006 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001771/0.007287, allocations: 31.92 kB / 1.006 GB, free: 7.23 MB / 0.9636 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.0003706/0.007658, allocations: 0.7427 MB / 1.007 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002383/0.007896, allocations: 193.2 kB / 1.007 GB, free: 6.254 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.007897, allocations: 0 / 1.007 GB, free: 6.254 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.35e-05/0.007961, allocations: 35.97 kB / 1.007 GB, free: 6.219 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.008158, allocations: 19.92 kB / 1.007 GB, free: 6.199 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.009601, allocations: 1.812 MB / 1.009 GB, free: 4.246 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.257e-05/0.009644, allocations: 75.19 kB / 1.009 GB, free: 4.152 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.603e-05/0.00967, allocations: 4 kB / 1.009 GB, free: 4.148 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.464e-05/0.009704, allocations: 20.5 kB / 1.009 GB, free: 4.129 MB / 0.9636 GB Notification: Performance of SimCode: time 6.51e-07/0.009705, allocations: 0 / 1.009 GB, free: 4.129 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07496/0.08467, allocations: 3.37 MB / 1.013 GB, free: 0.9219 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.537/7.621, allocations: 5.625 kB / 1.013 GB, free: 0.9219 MB / 0.9636 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change_fmpy_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.93225316517055]