Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",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.001052/0.001052, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001067/0.001067, allocations: 177.3 kB / 15.94 MB, free: 228 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.222/1.222, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.184/2.184, allocations: 409.2 MB / 0.6838 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0002727/0.0002728, allocations: 8 kB / 0.8375 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.473/0.4733, allocations: 146.8 MB / 0.9809 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001214/0.4745, allocations: 1.183 MB / 0.982 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004748/0.475, allocations: 415.4 kB / 0.9824 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.681e-05/0.475, allocations: 4 kB / 0.9824 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.159e-05/0.4751, allocations: 4 kB / 0.9824 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.54e-05/0.4751, allocations: 11.97 kB / 0.9824 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001048/0.4752, allocations: 15.88 kB / 0.9824 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.769e-05/0.4753, allocations: 31.95 kB / 0.9825 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.067e-05/0.4754, allocations: 11.98 kB / 0.9825 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.039e-05/0.4754, allocations: 19.92 kB / 0.9825 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.828e-05/0.4755, allocations: 15.92 kB / 0.9825 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.4755, allocations: 4 kB / 0.9825 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.217e-06/0.4755, allocations: 0 / 0.9825 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.4755, allocations: 19.92 kB / 0.9825 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.4756, allocations: 33.64 kB / 0.9826 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 4.906e-05/0.4756, allocations: 30.19 kB / 0.9826 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.4756, allocations: 0 / 0.9826 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4756, allocations: 0 / 0.9826 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.735e-06/0.4757, allocations: 0 / 0.9826 GB, free: 4.43 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003834/0.476, allocations: 355.2 kB / 0.9829 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.4761, allocations: 16.03 kB / 0.983 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.939e-05/0.4761, allocations: 34.56 kB / 0.983 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.322e-05/0.4761, allocations: 7.906 kB / 0.983 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.254e-05/0.4762, allocations: 163.1 kB / 0.9832 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-06/0.4763, allocations: 4 kB / 0.9832 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.4763, allocations: 8 kB / 0.9832 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.805e-05/0.4764, allocations: 61.56 kB / 0.9832 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-06/0.4764, allocations: 0 / 0.9832 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.4764, allocations: 4 kB / 0.9832 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.4764, allocations: 0 / 0.9832 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.949e-05/0.4765, allocations: 27.98 kB / 0.9833 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/0.4769, allocations: 308.6 kB / 0.9835 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.639e-05/0.4769, allocations: 62.58 kB / 0.9836 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.033e-06/0.477, allocations: 0 / 0.9836 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001289/0.4771, allocations: 75.59 kB / 0.9837 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.4771, allocations: 0 / 0.9837 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0001766/0.4773, allocations: 101.8 kB / 0.9838 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.4773, allocations: 51.41 kB / 0.9838 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.687e-05/0.4774, allocations: 105.9 kB / 0.9839 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.4774, allocations: 41.58 kB / 0.984 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.468e-05/0.4775, allocations: 88.14 kB / 0.9841 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.4775, allocations: 15.7 kB / 0.9841 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-06/0.4775, allocations: 8 kB / 0.9841 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.305e-05/0.4776, allocations: 318.8 kB / 0.9844 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.757e-05/0.4776, allocations: 12 kB / 0.9844 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.277e-05/0.4777, allocations: 43.42 kB / 0.9844 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.733e-05/0.4777, allocations: 27.94 kB / 0.9845 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.4777, allocations: 7.938 kB / 0.9845 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000117/0.4778, allocations: 89.53 kB / 0.9845 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.4779, allocations: 8.625 kB / 0.9846 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.4779, allocations: 0 / 0.9846 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/0.4779, allocations: 0 / 0.9846 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.721e-05/0.4779, allocations: 11.98 kB / 0.9846 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.478, allocations: 7.938 kB / 0.9846 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.01e-05/0.478, allocations: 11.97 kB / 0.9846 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.478, allocations: 8 kB / 0.9846 GB, free: 2.148 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 6.579e-05/0.4781, allocations: 121.8 kB / 0.9847 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.4781, allocations: 7.859 kB / 0.9847 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.4781, allocations: 7.969 kB / 0.9847 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4782, allocations: 4 kB / 0.9847 GB, free: 2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.4782, allocations: 0 / 0.9847 GB, free: 2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.4782, allocations: 0 / 0.9847 GB, free: 2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003178/0.4785, allocations: 358.5 kB / 0.9851 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4785, allocations: 4.062 kB / 0.9851 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.601e-05/0.4785, allocations: 11.92 kB / 0.9851 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4785, allocations: 0 / 0.9851 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.4786, allocations: 0 / 0.9851 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.4786, allocations: 4 kB / 0.9851 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4786, allocations: 3.984 kB / 0.9851 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.4787, allocations: 199.3 kB / 0.9853 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.001e-05/0.4787, allocations: 77.39 kB / 0.9854 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.4788, allocations: 4 kB / 0.9854 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.924e-05/0.4788, allocations: 11.98 kB / 0.9854 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.4789, allocations: 7.984 kB / 0.9854 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.4789, allocations: 3.984 kB / 0.9854 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.028e-05/0.4789, allocations: 83.28 kB / 0.9855 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4789, allocations: 4 kB / 0.9855 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002062/0.4791, allocations: 12 kB / 0.9855 GB, free: 1.141 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003141/0.4795, allocations: 0.7162 MB / 0.9862 GB, free: 404 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.717e-05/0.4796, allocations: 55.91 kB / 0.9862 GB, free: 348 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.4796, allocations: 0 / 0.9862 GB, free: 348 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.303e-05/0.4796, allocations: 32 kB / 0.9863 GB, free: 316 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.4798, allocations: 9.531 kB / 0.9863 GB, free: 308 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006654/0.4805, allocations: 0.9092 MB / 0.9872 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.4806, allocations: 0.6887 MB / 0.9878 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.426e-05/0.4807, allocations: 11.92 kB / 0.9878 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.412e-05/0.4807, allocations: 19.44 kB / 0.9879 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.4807, allocations: 0 / 0.9879 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.221/3.702, allocations: 1.472 MB / 0.9893 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002967/3.702, allocations: 199.7 kB / 0.9895 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.359/5.061, allocations: 0 / 0.9895 GB, free: 13.04 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat does not exist to compare? outputFormat=mat