Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.Logical.Validation.Timer,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",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.001504/0.001504, allocations: 98.77 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.0022/0.0022, 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.878/1.878, allocations: 223.2 MB / 239.9 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.561/3.561, allocations: 409.2 MB / 0.6838 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005609/0.000561, allocations: 15.98 kB / 0.8375 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.214/1.215, allocations: 146.8 MB / 0.9809 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001133/1.216, allocations: 463.6 kB / 0.9813 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001728/1.218, allocations: 1.201 MB / 0.9825 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.723e-05/1.218, allocations: 0 / 0.9825 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.37e-05/1.218, allocations: 3.984 kB / 0.9825 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001241/1.218, allocations: 19.91 kB / 0.9825 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000764/1.219, allocations: 225.5 kB / 0.9827 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001722/1.219, allocations: 131.8 kB / 0.9828 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/1.219, allocations: 16.2 kB / 0.9829 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/1.219, allocations: 87.86 kB / 0.9829 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/1.219, allocations: 67.78 kB / 0.983 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.705e-05/1.219, allocations: 20 kB / 0.983 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.563e-05/1.219, allocations: 31.91 kB / 0.9831 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.982e-05/1.219, allocations: 27.91 kB / 0.9831 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.922e-05/1.219, allocations: 53.64 kB / 0.9831 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002233/1.22, allocations: 157.9 kB / 0.9833 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/1.22, allocations: 0 / 0.9833 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.845e-06/1.22, allocations: 0 / 0.9833 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.665e-06/1.22, allocations: 0 / 0.9833 GB, free: 3.781 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007389/1.221, allocations: 466.4 kB / 0.9837 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/1.221, allocations: 12.03 kB / 0.9837 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.533e-05/1.221, allocations: 38.55 kB / 0.9838 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.613e-05/1.221, allocations: 19.91 kB / 0.9838 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006692/1.221, allocations: 260.1 kB / 0.9841 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/1.221, allocations: 11.98 kB / 0.9841 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.173e-05/1.221, allocations: 27.98 kB / 0.9841 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/1.222, allocations: 130.4 kB / 0.9842 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/1.222, allocations: 0 / 0.9842 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/1.222, allocations: 7.984 kB / 0.9842 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/1.222, allocations: 0 / 0.9842 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/1.222, allocations: 67.89 kB / 0.9843 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008953/1.223, allocations: 0.524 MB / 0.9848 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/1.223, allocations: 165.3 kB / 0.985 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/1.223, allocations: 0 / 0.985 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003495/1.223, allocations: 206.1 kB / 0.9852 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=22): time 1.292e-06/1.223, allocations: 0 / 0.9852 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22): time 0.0005685/1.224, allocations: 301.4 kB / 0.9854 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/1.224, allocations: 89.09 kB / 0.9855 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/1.224, allocations: 138 kB / 0.9857 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.773e-05/1.224, allocations: 33.7 kB / 0.9857 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.612e-05/1.224, allocations: 100.6 kB / 0.9858 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.122e-05/1.224, allocations: 51.5 kB / 0.9858 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/1.224, allocations: 8 kB / 0.9858 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001433/1.225, allocations: 326.8 kB / 0.9862 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/1.225, allocations: 84.61 kB / 0.9862 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/1.225, allocations: 148.2 kB / 0.9864 GB, free: 340 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/1.225, allocations: 145 kB / 0.9865 GB, free: 184 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/1.225, allocations: 3.953 kB / 0.9865 GB, free: 180 kB / 0.7325 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005579/1.226, allocations: 360.6 kB / 0.9869 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.254e-05/1.226, allocations: 68.8 kB / 0.9869 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.226, allocations: 0 / 0.9869 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/1.226, allocations: 4 kB / 0.9869 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/1.226, allocations: 23.92 kB / 0.987 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/1.226, allocations: 4 kB / 0.987 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003826/1.226, allocations: 91.98 kB / 0.987 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/1.226, allocations: 23.98 kB / 0.9871 GB, free: 15.58 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001628/1.227, allocations: 136 kB / 0.9872 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/1.227, allocations: 23.75 kB / 0.9872 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.725e-05/1.227, allocations: 16.5 kB / 0.9872 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/1.227, allocations: 0 / 0.9872 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/1.227, allocations: 3.938 kB / 0.9872 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/1.227, allocations: 4 kB / 0.9872 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006527/1.227, allocations: 0.621 MB / 0.9878 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.227, allocations: 0 / 0.9878 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.943e-05/1.228, allocations: 8 kB / 0.9879 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/1.228, allocations: 0 / 0.9879 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/1.228, allocations: 11.98 kB / 0.9879 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/1.228, allocations: 0 / 0.9879 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.228, allocations: 7.938 kB / 0.9879 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004471/1.228, allocations: 432 kB / 0.9883 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/1.228, allocations: 89.02 kB / 0.9884 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/1.228, allocations: 15.92 kB / 0.9884 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/1.228, allocations: 11.98 kB / 0.9884 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.75e-05/1.228, allocations: 23.97 kB / 0.9884 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/1.228, allocations: 23.98 kB / 0.9884 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.432e-05/1.228, allocations: 91.27 kB / 0.9885 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.228, allocations: 0 / 0.9885 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000357/1.229, allocations: 63.98 kB / 0.9886 GB, free: 13.91 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0008932/1.23, allocations: 1.046 MB / 0.9896 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000534/1.23, allocations: 338.6 kB / 0.9899 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.23, allocations: 0 / 0.9899 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001773/1.23, allocations: 119.9 kB / 0.9901 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/1.231, allocations: 21.97 kB / 0.9901 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/1.232, allocations: 1.769 MB / 0.9918 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/1.233, allocations: 0.7167 MB / 0.9925 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.804e-05/1.233, allocations: 13.55 kB / 0.9925 GB, free: 9.742 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.9e-05/1.233, allocations: 35.42 kB / 0.9925 GB, free: 9.707 MB / 0.7481 GB Notification: Performance of SimCode: time 4.01e-07/1.233, allocations: 4 kB / 0.9926 GB, free: 9.703 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01601/1.249, allocations: 3.588 MB / 0.9961 GB, free: 6.262 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002331/1.249, allocations: 182.9 kB / 0.9962 GB, free: 6.023 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.215/3.464, allocations: 0 / 0.9962 GB, free: 6.023 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat does not exist to compare? outputFormat=mat