Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001433/0.001433, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001752/0.001752, allocations: 216.3 kB / 22.25 MB, free: 5.125 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.571/1.571, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.433/3.433, allocations: 0.49 GB / 0.7951 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002718/0.002718, allocations: 72.19 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.367, allocations: 176.1 MB / 1.326 GB, free: 1.992 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003786/0.3707, allocations: 1.967 MB / 1.328 GB, free: 16 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002267/0.373, allocations: 1.294 MB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.3731, allocations: 7.938 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003813/0.3735, allocations: 103.5 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004199/0.3739, allocations: 135.4 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003511/0.3743, allocations: 131.5 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003427/0.3746, allocations: 219.5 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.3748, allocations: 49.75 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.375, allocations: 111.5 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.3752, allocations: 107.6 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.147e-05/0.3752, allocations: 12 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.3754, allocations: 75.89 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.505e-05/0.3755, allocations: 51.83 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.3756, allocations: 99.39 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004116/0.376, allocations: 282.7 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.376, allocations: 0 / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.376, allocations: 0 / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.894e-06/0.376, allocations: 4 kB / 1.33 GB, free: 13.35 MB / 1.029 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.0009753/0.377, allocations: 477 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.377, allocations: 16.03 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.807e-05/0.3771, allocations: 42.73 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.045e-05/0.3771, allocations: 28.75 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004007/0.3775, allocations: 236.8 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.3776, allocations: 12 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.3776, allocations: 12 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.3779, allocations: 111.3 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3779, allocations: 3.938 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.3779, allocations: 11.98 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.3779, allocations: 4 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.3782, allocations: 83.92 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007617/0.379, allocations: 415.5 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003604/0.3794, allocations: 130.6 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.3795, allocations: 48.83 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.3795, allocations: 0 / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003184/0.3799, allocations: 141.9 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 3.917e-06/0.3799, allocations: 3.984 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0006994/0.3806, allocations: 245.4 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.3806, allocations: 51.41 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004257/0.381, allocations: 341.8 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.3811, allocations: 33.7 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.3812, allocations: 140.5 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.3812, allocations: 43.69 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.3814, allocations: 61.64 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3815, allocations: 334.8 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.3817, allocations: 87.89 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.382, allocations: 133.1 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000395/0.3824, allocations: 194.6 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3824, allocations: 0 / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005859/0.383, allocations: 275.1 kB / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.383, allocations: 11.98 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.383, allocations: 0 / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.383, allocations: 4 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.3832, allocations: 48.06 kB / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.3833, allocations: 4 kB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.3834, allocations: 27.88 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.3834, allocations: 11.94 kB / 1.334 GB, free: 9.375 MB / 1.029 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.0001851/0.3836, allocations: 166 kB / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.556e-05/0.3837, allocations: 19.86 kB / 1.334 GB, free: 9.184 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005032/0.3842, allocations: 207.6 kB / 1.334 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.3842, allocations: 4 kB / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.3842, allocations: 0 / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3842, allocations: 0 / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008728/0.3851, allocations: 0.5224 MB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3851, allocations: 4 kB / 1.335 GB, free: 8.395 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.544e-05/0.3852, allocations: 15.98 kB / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3852, allocations: 0 / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.3852, allocations: 12 kB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3852, allocations: 3.938 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3852, allocations: 0 / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000489/0.3857, allocations: 301.7 kB / 1.335 GB, free: 8.055 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.503e-05/0.3857, allocations: 27.84 kB / 1.335 GB, free: 8.027 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.862e-05/0.3858, allocations: 8 kB / 1.335 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.3859, allocations: 11.98 kB / 1.335 GB, free: 8.008 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.698e-05/0.386, allocations: 15.97 kB / 1.335 GB, free: 7.992 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.386, allocations: 7.938 kB / 1.335 GB, free: 7.984 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002358/0.3862, allocations: 213.2 kB / 1.336 GB, free: 7.773 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3862, allocations: 7.938 kB / 1.336 GB, free: 7.766 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003403/0.3866, allocations: 47.94 kB / 1.336 GB, free: 7.719 MB / 1.029 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 (16): * Single equations (assignments): 11 * 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.002421/0.389, allocations: 1.147 MB / 1.337 GB, free: 6.707 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004837/0.3895, allocations: 179.7 kB / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3895, allocations: 0 / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.3897, allocations: 63.89 kB / 1.337 GB, free: 6.469 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.3902, allocations: 64.41 kB / 1.337 GB, free: 6.414 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003657/0.3938, allocations: 2.606 MB / 1.34 GB, free: 3.699 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.3942, allocations: 0.7519 MB / 1.34 GB, free: 2.922 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001586/0.3944, allocations: 45.86 kB / 1.34 GB, free: 2.879 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.3945, allocations: 71.41 kB / 1.34 GB, free: 2.809 MB / 1.029 GB Notification: Performance of SimCode: time 7.21e-07/0.3945, allocations: 0 / 1.34 GB, free: 2.809 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03526/0.4298, allocations: 5.748 MB / 1.346 GB, free: 13.14 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.97, allocations: 6.109 kB / 1.346 GB, free: 13.13 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.06121580209583]