Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007887/0.0007891, allocations: 86.09 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.0009085/0.0009085, 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.462/1.462, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.75/2.75, allocations: 409.4 MB / 0.684 GB, free: 1 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004946/0.0004949, allocations: 15.94 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8194/0.82, allocations: 146.8 MB / 0.9811 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003026/0.823, allocations: 1.593 MB / 0.9827 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002011/0.8251, allocations: 1.042 MB / 0.9837 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001922/0.8253, allocations: 3.938 kB / 0.9837 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004557/0.8258, allocations: 83.77 kB / 0.9838 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.8261, allocations: 79.66 kB / 0.9839 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005121/0.8266, allocations: 119.8 kB / 0.984 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004613/0.8271, allocations: 183.5 kB / 0.9842 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.8273, allocations: 45.81 kB / 0.9842 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.8275, allocations: 75.64 kB / 0.9843 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.8277, allocations: 79.66 kB / 0.9844 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.8277, allocations: 8 kB / 0.9844 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.8279, allocations: 51.89 kB / 0.9844 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.828, allocations: 51.83 kB / 0.9845 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.928e-05/0.8281, allocations: 57.58 kB / 0.9845 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003214/0.8284, allocations: 201.7 kB / 0.9847 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.8285, allocations: 0 / 0.9847 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.255e-06/0.8285, allocations: 0 / 0.9847 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.415e-06/0.8285, allocations: 0 / 0.9847 GB, free: 2.566 MB / 0.7325 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.001138/0.8296, allocations: 0.5063 MB / 0.9852 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.8297, allocations: 12.03 kB / 0.9852 GB, free: 2 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.665e-05/0.8298, allocations: 46.55 kB / 0.9853 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.498e-05/0.8298, allocations: 19.72 kB / 0.9853 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004894/0.8303, allocations: 274.7 kB / 0.9855 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.8303, allocations: 12.12 kB / 0.9856 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.8304, allocations: 11.98 kB / 0.9856 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003145/0.8307, allocations: 131.8 kB / 0.9857 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.8307, allocations: 3.938 kB / 0.9857 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.8307, allocations: 4 kB / 0.9857 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.8308, allocations: 4 kB / 0.9857 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002824/0.831, allocations: 95.98 kB / 0.9858 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007986/0.8319, allocations: 460.4 kB / 0.9862 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003531/0.8322, allocations: 142.6 kB / 0.9864 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.8324, allocations: 60.83 kB / 0.9864 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.394e-05/0.8324, allocations: 3.984 kB / 0.9864 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003134/0.8327, allocations: 132.5 kB / 0.9866 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 2.154e-06/0.8328, allocations: 0 / 0.9866 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.0007107/0.8335, allocations: 259.6 kB / 0.9868 GB, free: 248 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.8336, allocations: 59.41 kB / 0.9869 GB, free: 176 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005269/0.8341, allocations: 334.4 kB / 0.9872 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.8342, allocations: 29.7 kB / 0.9872 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.8344, allocations: 136.4 kB / 0.9873 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.488e-05/0.8344, allocations: 43.45 kB / 0.9874 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.389e-05/0.8344, allocations: 8 kB / 0.9874 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.8346, allocations: 334.8 kB / 0.9877 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.8348, allocations: 83.95 kB / 0.9878 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/0.8351, allocations: 137.1 kB / 0.9879 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.8353, allocations: 94.72 kB / 0.988 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.8353, allocations: 4 kB / 0.988 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000556/0.8359, allocations: 285.2 kB / 0.9883 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/0.8359, allocations: 9.094 kB / 0.9883 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.836, allocations: 4.156 kB / 0.9883 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.836, allocations: 7.984 kB / 0.9883 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.8362, allocations: 43.92 kB / 0.9884 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.8362, allocations: 7.984 kB / 0.9884 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.8364, allocations: 27.83 kB / 0.9884 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.8364, allocations: 11.95 kB / 0.9884 GB, free: 14.55 MB / 0.7481 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.0001814/0.8366, allocations: 161.8 kB / 0.9886 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.8366, allocations: 23.72 kB / 0.9886 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.211e-05/0.8367, allocations: 30.16 kB / 0.9886 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.8367, allocations: 0 / 0.9886 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.8367, allocations: 0 / 0.9886 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.8367, allocations: 0 / 0.9886 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009476/0.8377, allocations: 0.5645 MB / 0.9892 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.8377, allocations: 0 / 0.9892 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.642e-05/0.8378, allocations: 15.98 kB / 0.9892 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.8378, allocations: 3.984 kB / 0.9892 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.8378, allocations: 4 kB / 0.9892 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.8378, allocations: 3.938 kB / 0.9892 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.8379, allocations: 7.953 kB / 0.9892 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005125/0.8384, allocations: 303.1 kB / 0.9895 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.023e-05/0.8385, allocations: 100.9 kB / 0.9896 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/0.8385, allocations: 8 kB / 0.9896 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.8387, allocations: 15.98 kB / 0.9896 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.534e-05/0.8388, allocations: 23.92 kB / 0.9896 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.8388, allocations: 4 kB / 0.9896 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002292/0.839, allocations: 205.9 kB / 0.9898 GB, free: 13 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.839, allocations: 0 / 0.9898 GB, free: 13 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003302/0.8394, allocations: 59.84 kB / 0.9899 GB, free: 12.94 MB / 0.7481 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.00192/0.8413, allocations: 1.163 MB / 0.991 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005071/0.8418, allocations: 183.8 kB / 0.9912 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8418, allocations: 320 / 0.9912 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.842, allocations: 79.89 kB / 0.9913 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.8425, allocations: 44.52 kB / 0.9913 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/0.8454, allocations: 1.498 MB / 0.9928 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004851/0.8459, allocations: 0.7521 MB / 0.9935 GB, free: 9.273 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001297/0.846, allocations: 25.95 kB / 0.9935 GB, free: 9.246 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.8462, allocations: 75.41 kB / 0.9936 GB, free: 9.176 MB / 0.7481 GB Notification: Performance of SimCode: time 7.41e-07/0.8462, allocations: 0 / 0.9936 GB, free: 9.176 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01985/0.8661, allocations: 5.044 MB / 0.9985 GB, free: 4.293 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000266/0.8664, allocations: 231.2 kB / 0.9987 GB, free: 4.055 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.017/2.883, allocations: 7.938 kB / 0.9988 GB, free: 4.047 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat does not exist to compare? outputFormat=mat