Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009771/0.000977, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.925/2.925, allocations: 437.7 MB / 0.7117 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004407/0.0004409, allocations: 16 kB / 0.8722 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8187/0.8192, allocations: 153.8 MB / 1.022 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002631/0.8219, allocations: 1.606 MB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001976/0.8239, allocations: 1.03 MB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/0.8241, allocations: 4 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004424/0.8246, allocations: 87.69 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003361/0.825, allocations: 75.73 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000594/0.8256, allocations: 131.6 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003557/0.8259, allocations: 175.5 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.8261, allocations: 41.83 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.8264, allocations: 79.64 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.8265, allocations: 91.58 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.8266, allocations: 4 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001537/0.8267, allocations: 51.91 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.221e-05/0.8268, allocations: 43.83 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.9e-05/0.8269, allocations: 61.52 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002843/0.8272, allocations: 197.5 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.8272, allocations: 4 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8272, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.8272, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 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.0009496/0.8282, allocations: 0.5063 MB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.8282, allocations: 12.5 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.523e-05/0.8283, allocations: 23.72 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.8287, allocations: 274.7 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.8288, allocations: 8.188 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.8288, allocations: 15.95 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.8291, allocations: 123.9 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.8291, allocations: 0 / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.8292, allocations: 3.984 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.8292, allocations: 4 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002802/0.8295, allocations: 108 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008539/0.8303, allocations: 452.3 kB / 1.027 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.8307, allocations: 138.6 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.8309, allocations: 60.81 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.8309, allocations: 8 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002993/0.8312, allocations: 129.2 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 2.224e-06/0.8312, allocations: 3.938 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0006555/0.8319, allocations: 253.3 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.8319, allocations: 59.36 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003755/0.8323, allocations: 334.4 kB / 1.028 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.8324, allocations: 37.7 kB / 1.028 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.8325, allocations: 132.5 kB / 1.029 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.527e-05/0.8326, allocations: 43.39 kB / 1.029 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.348e-05/0.8326, allocations: 4 kB / 1.029 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.8327, allocations: 338.8 kB / 1.029 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.833, allocations: 91.94 kB / 1.029 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.8332, allocations: 133 kB / 1.029 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.8335, allocations: 99.34 kB / 1.029 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.8335, allocations: 0 / 1.029 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006132/0.8341, allocations: 289.4 kB / 1.03 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.8341, allocations: 5.875 kB / 1.03 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.8341, allocations: 4 kB / 1.03 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.8342, allocations: 4 kB / 1.03 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.8344, allocations: 43.91 kB / 1.03 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.8344, allocations: 7.938 kB / 1.03 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.8346, allocations: 31.78 kB / 1.03 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.8346, allocations: 16.03 kB / 1.03 GB, free: 8.434 MB / 0.7794 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 ($PRE.decreaseSampler.y,decreaseSampler.y,$PRE.increaseSampler.y,increaseSampler.y,$PRE.changeSampler.y,changeSampler.y,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition1,$PRE.cha.u,cha.u,cha.y,cha.up,cha.down,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002052/0.8349, allocations: 161.5 kB / 1.03 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/0.8349, allocations: 23.72 kB / 1.03 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.362e-05/0.835, allocations: 22.19 kB / 1.03 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.835, allocations: 0 / 1.03 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.835, allocations: 4 kB / 1.03 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.835, allocations: 3.984 kB / 1.03 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009222/0.8359, allocations: 0.5578 MB / 1.03 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.836, allocations: 0 / 1.03 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.155e-05/0.8361, allocations: 19.98 kB / 1.03 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.8361, allocations: 8 kB / 1.03 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.8361, allocations: 0 / 1.03 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.8361, allocations: 3.953 kB / 1.03 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.8361, allocations: 0 / 1.03 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005121/0.8366, allocations: 312.3 kB / 1.031 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.942e-05/0.8367, allocations: 92.92 kB / 1.031 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.8368, allocations: 8 kB / 1.031 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.8369, allocations: 19.97 kB / 1.031 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.4e-05/0.837, allocations: 15.94 kB / 1.031 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.8371, allocations: 11.98 kB / 1.031 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002627/0.8373, allocations: 206 kB / 1.031 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.535e-06/0.8373, allocations: 4 kB / 1.031 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003903/0.8377, allocations: 59.77 kB / 1.031 GB, free: 6.824 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001071/0.8388, allocations: 427.8 kB / 1.032 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005082/0.8393, allocations: 194.6 kB / 1.032 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.8393, allocations: 0 / 1.032 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.8395, allocations: 75.89 kB / 1.032 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.84, allocations: 53.23 kB / 1.032 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008781/0.8409, allocations: 437.1 kB / 1.032 GB, free: 5.789 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.8413, allocations: 0.756 MB / 1.033 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001416/0.8415, allocations: 33.92 kB / 1.033 GB, free: 4.977 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.801e-05/0.8416, allocations: 23.44 kB / 1.033 GB, free: 4.953 MB / 0.7794 GB Notification: Performance of SimCode: time 1.493e-06/0.8416, allocations: 0 / 1.033 GB, free: 4.953 MB / 0.7794 GB Notification: Performance of Templates: time 0.007436/0.849, allocations: 2.751 MB / 1.036 GB, free: 2.227 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches