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.1-maint.10.0.x/package.mo", uses=false) 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: 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.00146/0.00146, allocations: 103.6 kB / 16.27 MB, free: 5.98 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.001619/0.001619, allocations: 189.8 kB / 17.2 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.461/2.461, allocations: 437 MB / 0.711 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 68.44 kB / 0.8699 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2586, allocations: 151.6 MB / 1.018 GB, free: 10.69 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003188/0.2618, allocations: 1.931 MB / 1.02 GB, free: 8.742 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.2635, allocations: 1.123 MB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.2637, allocations: 4 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000341/0.264, allocations: 99.55 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002722/0.2643, allocations: 95.53 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.2647, allocations: 160.1 kB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003042/0.2651, allocations: 211.5 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.2652, allocations: 45.66 kB / 1.022 GB, free: 7.008 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.2654, allocations: 99.61 kB / 1.022 GB, free: 6.91 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.2656, allocations: 103.5 kB / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.2656, allocations: 16 kB / 1.022 GB, free: 6.793 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.2658, allocations: 55.95 kB / 1.022 GB, free: 6.738 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.082e-05/0.2659, allocations: 55.83 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.266, allocations: 99.33 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.2663, allocations: 263.4 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2663, allocations: 0 / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2663, allocations: 0 / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.2663, allocations: 0 / 1.022 GB, free: 6.328 MB / 0.795 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.0008851/0.2672, allocations: 0.5414 MB / 1.023 GB, free: 5.738 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.2673, allocations: 12.92 kB / 1.023 GB, free: 5.727 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/0.2673, allocations: 24.66 kB / 1.023 GB, free: 5.703 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.2677, allocations: 287.3 kB / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.2677, allocations: 12 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.2677, allocations: 7.938 kB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.268, allocations: 118.9 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.268, allocations: 0 / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.2681, allocations: 11.94 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-06/0.2681, allocations: 4 kB / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.2684, allocations: 79.92 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006551/0.269, allocations: 456.4 kB / 1.024 GB, free: 4.656 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/0.2694, allocations: 130.6 kB / 1.024 GB, free: 4.52 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.2695, allocations: 52.83 kB / 1.024 GB, free: 4.465 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.2696, allocations: 4 kB / 1.024 GB, free: 4.461 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002551/0.2698, allocations: 123.2 kB / 1.024 GB, free: 4.328 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.2698, allocations: 0 / 1.024 GB, free: 4.328 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.0006164/0.2704, allocations: 259.5 kB / 1.024 GB, free: 4.07 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.2705, allocations: 55.41 kB / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.2708, allocations: 330.6 kB / 1.025 GB, free: 3.672 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.2708, allocations: 33.7 kB / 1.025 GB, free: 3.633 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.525e-05/0.2709, allocations: 136.3 kB / 1.025 GB, free: 3.496 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.271, allocations: 39.55 kB / 1.025 GB, free: 3.457 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.892e-05/0.271, allocations: 61.59 kB / 1.025 GB, free: 3.391 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.2712, allocations: 334.8 kB / 1.025 GB, free: 3.055 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.2714, allocations: 83.95 kB / 1.025 GB, free: 2.973 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.2716, allocations: 142 kB / 1.025 GB, free: 2.816 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003515/0.272, allocations: 186.8 kB / 1.026 GB, free: 2.617 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.272, allocations: 3.938 kB / 1.026 GB, free: 2.613 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005127/0.2725, allocations: 283.7 kB / 1.026 GB, free: 2.332 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.2725, allocations: 12.16 kB / 1.026 GB, free: 2.32 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.2725, allocations: 0 / 1.026 GB, free: 2.32 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.2725, allocations: 4 kB / 1.026 GB, free: 2.316 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.2727, allocations: 35.97 kB / 1.026 GB, free: 2.281 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.2727, allocations: 7.938 kB / 1.026 GB, free: 2.273 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.2729, allocations: 19.98 kB / 1.026 GB, free: 2.254 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.2729, allocations: 12 kB / 1.026 GB, free: 2.242 MB / 0.795 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.0001354/0.2731, allocations: 169.5 kB / 1.026 GB, free: 2.066 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.2731, allocations: 23.66 kB / 1.026 GB, free: 2.043 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.026e-05/0.2732, allocations: 26.19 kB / 1.026 GB, free: 2.02 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.2732, allocations: 7.984 kB / 1.026 GB, free: 2.012 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2732, allocations: 0 / 1.026 GB, free: 2.012 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2732, allocations: 0 / 1.026 GB, free: 2.012 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007298/0.2739, allocations: 0.5528 MB / 1.027 GB, free: 1.402 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2739, allocations: 0 / 1.027 GB, free: 1.402 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.363e-05/0.274, allocations: 15.98 kB / 1.027 GB, free: 1.387 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.274, allocations: 0 / 1.027 GB, free: 1.387 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.274, allocations: 4 kB / 1.027 GB, free: 1.383 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.2741, allocations: 3.984 kB / 1.027 GB, free: 1.379 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2741, allocations: 4 kB / 1.027 GB, free: 1.375 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004342/0.2745, allocations: 293.3 kB / 1.027 GB, free: 1.074 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.289e-05/0.2746, allocations: 100.8 kB / 1.027 GB, free: 0.957 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.2746, allocations: 4 kB / 1.027 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.2748, allocations: 23.91 kB / 1.027 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.2748, allocations: 15.98 kB / 1.027 GB, free: 0.9141 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.2748, allocations: 4 kB / 1.027 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001782/0.275, allocations: 209.9 kB / 1.027 GB, free: 0.7109 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.275, allocations: 0 / 1.027 GB, free: 0.7109 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002973/0.2753, allocations: 51.94 kB / 1.027 GB, free: 0.6602 MB / 0.795 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.0009004/0.2762, allocations: 426.6 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004616/0.2767, allocations: 191.8 kB / 1.028 GB, free: 216 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2767, allocations: 320 / 1.028 GB, free: 216 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.2769, allocations: 71.89 kB / 1.028 GB, free: 144 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.2773, allocations: 55.33 kB / 1.028 GB, free: 88 kB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006417/0.278, allocations: 447.3 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.2783, allocations: 0.7441 MB / 1.029 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.704e-05/0.2783, allocations: 31.42 kB / 1.029 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of SimCode: time 3.1e-07/0.2783, allocations: 0 / 1.029 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of Templates: time 0.004813/0.2831, allocations: 3.252 MB / 1.032 GB, free: 11.57 MB / 0.8106 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/jenkins1/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