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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 107.2 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.624/2.624, allocations: 443.5 MB / 0.7287 GB, free: 13.22 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 68.08 kB / 1.056 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8295/0.8314, allocations: 160.7 MB / 1.213 GB, free: 4.082 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.004291/0.8357, allocations: 1.936 MB / 1.215 GB, free: 2.566 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00293/0.8386, allocations: 1.131 MB / 1.216 GB, free: 1.688 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000373/0.839, allocations: 6.219 kB / 1.216 GB, free: 1.684 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006392/0.8397, allocations: 94.64 kB / 1.216 GB, free: 1.625 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005388/0.8402, allocations: 103.3 kB / 1.216 GB, free: 1.551 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006966/0.8409, allocations: 156.7 kB / 1.216 GB, free: 1.438 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005187/0.8414, allocations: 210.5 kB / 1.216 GB, free: 1.316 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.8416, allocations: 32.78 kB / 1.216 GB, free: 1.297 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002772/0.8419, allocations: 113.8 kB / 1.217 GB, free: 1.223 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.8421, allocations: 107.9 kB / 1.217 GB, free: 1.156 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.863e-05/0.8422, allocations: 12.75 kB / 1.217 GB, free: 1.156 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.8424, allocations: 52.59 kB / 1.217 GB, free: 1.141 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.8425, allocations: 63.19 kB / 1.217 GB, free: 1.098 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.8426, allocations: 84.83 kB / 1.217 GB, free: 1.031 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004909/0.8431, allocations: 277.5 kB / 1.217 GB, free: 0.832 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.8431, allocations: 1.25 kB / 1.217 GB, free: 0.832 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.063e-06/0.8431, allocations: 0 / 1.217 GB, free: 0.832 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.8431, allocations: 0 / 1.217 GB, free: 0.832 MB / 0.92 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.001474/0.8446, allocations: 0.5568 MB / 1.218 GB, free: 308 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.944e-05/0.8447, allocations: 11.31 kB / 1.218 GB, free: 308 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001032/0.8448, allocations: 41.3 kB / 1.218 GB, free: 260 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.8449, allocations: 24.3 kB / 1.218 GB, free: 248 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006788/0.8456, allocations: 287.5 kB / 1.218 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.8456, allocations: 8.25 kB / 1.218 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.8456, allocations: 11.09 kB / 1.218 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003832/0.846, allocations: 119.2 kB / 1.218 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.846, allocations: 3.938 kB / 1.218 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.8461, allocations: 10.23 kB / 1.218 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.8461, allocations: 1.938 kB / 1.218 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/0.8464, allocations: 85.02 kB / 1.218 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008431/0.8472, allocations: 463.6 kB / 1.219 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.8476, allocations: 122 kB / 1.219 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.8477, allocations: 57.25 kB / 1.219 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.8478, allocations: 9.156 kB / 1.219 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003084/0.8481, allocations: 126.8 kB / 1.219 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.974e-06/0.8481, allocations: 0 / 1.219 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0006958/0.8488, allocations: 242.3 kB / 1.219 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.8488, allocations: 58.69 kB / 1.219 GB, free: 15 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004476/0.8493, allocations: 330.9 kB / 1.22 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.8493, allocations: 35.92 kB / 1.22 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.8494, allocations: 135.4 kB / 1.22 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/0.8495, allocations: 47.02 kB / 1.22 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.4e-05/0.8496, allocations: 56.22 kB / 1.22 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.8497, allocations: 337.2 kB / 1.22 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.8499, allocations: 82.7 kB / 1.22 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.8502, allocations: 135.8 kB / 1.22 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/0.8506, allocations: 186.8 kB / 1.221 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.8506, allocations: 1.125 kB / 1.221 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005934/0.8512, allocations: 276.3 kB / 1.221 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.8512, allocations: 9.906 kB / 1.221 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.8512, allocations: 1.062 kB / 1.221 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.8512, allocations: 3.281 kB / 1.221 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.8515, allocations: 42.12 kB / 1.221 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.8515, allocations: 2.656 kB / 1.221 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.8516, allocations: 29.98 kB / 1.221 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.341e-05/0.8517, allocations: 11.69 kB / 1.221 GB, free: 13.79 MB / 0.9356 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.0001933/0.8519, allocations: 171.4 kB / 1.221 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.8519, allocations: 25.45 kB / 1.221 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.648e-05/0.852, allocations: 26.45 kB / 1.221 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.852, allocations: 2.188 kB / 1.221 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.852, allocations: 0 / 1.221 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.852, allocations: 0 / 1.221 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000919/0.8529, allocations: 0.5491 MB / 1.222 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.8529, allocations: 5.109 kB / 1.222 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.132e-05/0.853, allocations: 21.17 kB / 1.222 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.853, allocations: 1.5 kB / 1.222 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.853, allocations: 5.156 kB / 1.222 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.853, allocations: 1.062 kB / 1.222 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.853, allocations: 1.094 kB / 1.222 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004823/0.8535, allocations: 296.7 kB / 1.222 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.8536, allocations: 113.6 kB / 1.222 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.8537, allocations: 1.562 kB / 1.222 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.8538, allocations: 20.7 kB / 1.222 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/0.8539, allocations: 14.52 kB / 1.222 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.8539, allocations: 12.42 kB / 1.222 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002284/0.8541, allocations: 208.4 kB / 1.222 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8541, allocations: 0 / 1.222 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000337/0.8545, allocations: 49.42 kB / 1.222 GB, free: 12.61 MB / 0.9356 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.002232/0.8567, allocations: 1.134 MB / 1.224 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000484/0.8572, allocations: 179 kB / 1.224 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.8572, allocations: 0 / 1.224 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.8574, allocations: 74.39 kB / 1.224 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.8578, allocations: 57.47 kB / 1.224 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/0.8613, allocations: 2.572 MB / 1.226 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.8617, allocations: 0.7464 MB / 1.227 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001281/0.8619, allocations: 41.97 kB / 1.227 GB, free: 9 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.862, allocations: 74.09 kB / 1.227 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of SimCode: time 1.032e-06/0.862, allocations: 0 / 1.227 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.8916, allocations: 5.463 MB / 1.233 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.412/9.303, allocations: 7.984 kB / 1.233 GB, free: 3.965 MB / 0.9356 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 420.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.27594805881381]