Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Integers.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.0008927/0.0008927, allocations: 80.55 kB / 19.96 MB, free: 4.59 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.000896/0.000896, allocations: 173.2 kB / 23.24 MB, free: 1.312 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.9139/0.9139, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.889/1.889, allocations: 389.6 MB / 0.6343 GB, free: 12.6 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.Integers.Validation.Change,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.466e-05, allocations: 6.281 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003092/0.003117, allocations: 1.905 MB / 1.003 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001609/0.004726, allocations: 1.212 MB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.004828, allocations: 3.938 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0003133/0.005141, allocations: 99.48 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002869/0.005428, allocations: 139.3 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.005643, allocations: 135.4 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.005861, allocations: 239.3 kB / 1.004 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.00599, allocations: 33.78 kB / 1.004 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.00613, allocations: 127.6 kB / 1.004 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.006246, allocations: 91.75 kB / 1.005 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.006271, allocations: 19.94 kB / 1.005 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.006372, allocations: 55.91 kB / 1.005 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.642e-05/0.006439, allocations: 59.83 kB / 1.005 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.498e-05/0.006494, allocations: 55.77 kB / 1.005 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.006755, allocations: 283 kB / 1.005 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.006757, allocations: 0 / 1.005 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.52e-07/0.006758, allocations: 0 / 1.005 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.006762, allocations: 8 kB / 1.005 GB, free: 9.059 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006124/0.007375, allocations: 484.9 kB / 1.005 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.00741, allocations: 9.344 kB / 1.005 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.673e-05/0.007447, allocations: 42.75 kB / 1.006 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.00749, allocations: 32.73 kB / 1.006 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.007752, allocations: 232.7 kB / 1.006 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.007765, allocations: 8 kB / 1.006 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.007779, allocations: 8 kB / 1.006 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.007963, allocations: 117.6 kB / 1.006 GB, free: 8.074 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.007972, allocations: 4 kB / 1.006 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.007984, allocations: 4 kB / 1.006 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.007991, allocations: 3.938 kB / 1.006 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.008145, allocations: 87.92 kB / 1.006 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/0.008618, allocations: 395.8 kB / 1.006 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.008823, allocations: 126.6 kB / 1.006 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.866e-05/0.008911, allocations: 56.81 kB / 1.007 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.008925, allocations: 7.938 kB / 1.007 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.009094, allocations: 127.3 kB / 1.007 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.009095, allocations: 0 / 1.007 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.000397/0.009492, allocations: 257.2 kB / 1.007 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.009526, allocations: 63.38 kB / 1.007 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.009764, allocations: 333.8 kB / 1.007 GB, free: 6.543 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.009782, allocations: 33.7 kB / 1.007 GB, free: 6.504 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.792e-05/0.00985, allocations: 136.6 kB / 1.007 GB, free: 6.367 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.00988, allocations: 43.69 kB / 1.008 GB, free: 6.324 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.905e-05/0.009939, allocations: 49.7 kB / 1.008 GB, free: 6.27 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.718e-05/0.01003, allocations: 338.8 kB / 1.008 GB, free: 5.93 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.01015, allocations: 91.94 kB / 1.008 GB, free: 5.84 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.01029, allocations: 137 kB / 1.008 GB, free: 5.688 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.01051, allocations: 186.7 kB / 1.008 GB, free: 5.488 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.01051, allocations: 8 kB / 1.008 GB, free: 5.48 MB / 0.9636 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003221/0.01083, allocations: 286.5 kB / 1.009 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.01085, allocations: 11.94 kB / 1.009 GB, free: 5.184 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.01085, allocations: 0 / 1.009 GB, free: 5.184 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.01086, allocations: 4 kB / 1.009 GB, free: 5.18 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.01098, allocations: 39.91 kB / 1.009 GB, free: 5.141 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.01098, allocations: 8.156 kB / 1.009 GB, free: 5.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.783e-05/0.01106, allocations: 27.88 kB / 1.009 GB, free: 5.105 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.01108, allocations: 15.98 kB / 1.009 GB, free: 5.09 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * 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.0001078/0.01119, allocations: 156.4 kB / 1.009 GB, free: 4.93 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.01121, allocations: 27.78 kB / 1.009 GB, free: 4.902 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002848/0.0115, allocations: 218.1 kB / 1.009 GB, free: 4.688 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.0115, allocations: 0 / 1.009 GB, free: 4.688 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.0115, allocations: 4 kB / 1.009 GB, free: 4.684 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.01151, allocations: 3.984 kB / 1.009 GB, free: 4.68 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004862/0.012, allocations: 0.5248 MB / 1.01 GB, free: 4.105 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.012, allocations: 0 / 1.01 GB, free: 4.105 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.466e-05/0.01204, allocations: 15.98 kB / 1.01 GB, free: 4.09 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.01204, allocations: 0 / 1.01 GB, free: 4.09 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.01205, allocations: 0 / 1.01 GB, free: 4.09 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.01205, allocations: 4 kB / 1.01 GB, free: 4.086 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.01206, allocations: 7.938 kB / 1.01 GB, free: 4.078 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.01232, allocations: 315.6 kB / 1.01 GB, free: 3.754 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.432e-05/0.01235, allocations: 19.86 kB / 1.01 GB, free: 3.734 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.01237, allocations: 8 kB / 1.01 GB, free: 3.727 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.134e-05/0.01244, allocations: 11.97 kB / 1.01 GB, free: 3.715 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.01249, allocations: 19.97 kB / 1.01 GB, free: 3.695 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.0125, allocations: 8 kB / 1.01 GB, free: 3.688 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002682/0.01277, allocations: 213.2 kB / 1.01 GB, free: 3.477 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01277, allocations: 4 kB / 1.01 GB, free: 3.473 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002185/0.01299, allocations: 47.94 kB / 1.01 GB, free: 3.426 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: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001088/0.01407, allocations: 1.194 MB / 1.011 GB, free: 2.387 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002874/0.01436, allocations: 183.7 kB / 1.012 GB, free: 2.211 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.01436, allocations: 0 / 1.012 GB, free: 2.211 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.01447, allocations: 71.89 kB / 1.012 GB, free: 2.141 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.01474, allocations: 54.69 kB / 1.012 GB, free: 2.094 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.01701, allocations: 2.636 MB / 1.014 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.693e-05/0.0171, allocations: 145.2 kB / 1.014 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 7.106e-05/0.01718, allocations: 37.94 kB / 1.014 GB, free: 15.15 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.097e-05/0.01727, allocations: 76.47 kB / 1.014 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of SimCode: time 5.51e-07/0.01727, allocations: 3.938 kB / 1.014 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07996/0.09722, allocations: 6.534 MB / 1.021 GB, free: 8.625 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.261/7.358, allocations: 20.52 kB / 1.021 GB, free: 8.613 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.047825288958848]