Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.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.Examples.OffTimer,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer",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.001208/0.001208, allocations: 99.86 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.001357/0.001357, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.159/2.159, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.392/3.392, allocations: 409.2 MB / 0.6838 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004958/0.0004958, allocations: 8 kB / 0.8375 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7029/0.7034, allocations: 146.8 MB / 0.9809 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001507/0.705, allocations: 1.168 MB / 0.982 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006266/0.7056, allocations: 415.4 kB / 0.9824 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.485e-05/0.7057, allocations: 0 / 0.9824 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.816e-05/0.7057, allocations: 7.938 kB / 0.9824 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.829e-05/0.7058, allocations: 11.98 kB / 0.9824 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001413/0.7059, allocations: 15.92 kB / 0.9824 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.55e-05/0.706, allocations: 43.88 kB / 0.9825 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.939e-05/0.7061, allocations: 4 kB / 0.9825 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.449e-05/0.7062, allocations: 15.98 kB / 0.9825 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.901e-05/0.7063, allocations: 15.92 kB / 0.9825 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.7063, allocations: 0 / 0.9825 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.404e-05/0.7063, allocations: 11.94 kB / 0.9825 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.7063, allocations: 7.984 kB / 0.9825 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.803e-05/0.7064, allocations: 29.7 kB / 0.9825 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.55e-05/0.7065, allocations: 30.19 kB / 0.9826 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.7065, allocations: 0 / 0.9826 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7065, allocations: 0 / 0.9826 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.7065, allocations: 0 / 0.9826 GB, free: 4.473 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.0005394/0.707, allocations: 363.2 kB / 0.9829 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.7071, allocations: 8.031 kB / 0.9829 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.874e-05/0.7071, allocations: 42.5 kB / 0.983 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.053e-05/0.7072, allocations: 7.906 kB / 0.983 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.7073, allocations: 167 kB / 0.9831 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.7073, allocations: 8 kB / 0.9831 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.7074, allocations: 4 kB / 0.9831 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.7075, allocations: 61.56 kB / 0.9832 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.7075, allocations: 0 / 0.9832 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.7075, allocations: 0 / 0.9832 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.7075, allocations: 11.94 kB / 0.9832 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.236e-05/0.7076, allocations: 23.98 kB / 0.9832 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.7081, allocations: 308.7 kB / 0.9835 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.55e-05/0.7082, allocations: 58.59 kB / 0.9836 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.968e-06/0.7082, allocations: 0 / 0.9836 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.7084, allocations: 71.59 kB / 0.9837 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.7084, allocations: 4 kB / 0.9837 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0002097/0.7086, allocations: 97.52 kB / 0.9838 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.7086, allocations: 59.41 kB / 0.9838 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.315e-05/0.7087, allocations: 105.8 kB / 0.9839 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.7088, allocations: 33.7 kB / 0.9839 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/0.7088, allocations: 92.06 kB / 0.984 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.7088, allocations: 19.72 kB / 0.9841 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.7088, allocations: 0 / 0.9841 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.805e-05/0.7089, allocations: 322.8 kB / 0.9844 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.166e-05/0.709, allocations: 12 kB / 0.9844 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.589e-05/0.709, allocations: 43.42 kB / 0.9844 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.162e-05/0.7091, allocations: 24 kB / 0.9844 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.7091, allocations: 3.953 kB / 0.9844 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001383/0.7092, allocations: 97.45 kB / 0.9845 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.7093, allocations: 4 kB / 0.9845 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.7093, allocations: 4 kB / 0.9845 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.7093, allocations: 0 / 0.9845 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.275e-05/0.7094, allocations: 11.98 kB / 0.9846 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.7094, allocations: 4.375 kB / 0.9846 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.262e-05/0.7095, allocations: 15.97 kB / 0.9846 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.7095, allocations: 4 kB / 0.9846 GB, free: 2.184 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 8.301e-05/0.7096, allocations: 123.6 kB / 0.9847 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.7096, allocations: 15.8 kB / 0.9847 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.7096, allocations: 11.95 kB / 0.9847 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.7096, allocations: 0 / 0.9847 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.7096, allocations: 0 / 0.9847 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.7096, allocations: 4 kB / 0.9847 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000373/0.71, allocations: 362.5 kB / 0.9851 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.71, allocations: 0 / 0.9851 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.835e-05/0.7101, allocations: 7.984 kB / 0.9851 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.7101, allocations: 0 / 0.9851 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.7101, allocations: 4 kB / 0.9851 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.7101, allocations: 0 / 0.9851 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.7101, allocations: 0 / 0.9851 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.7103, allocations: 191.3 kB / 0.9853 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.609e-05/0.7103, allocations: 85.11 kB / 0.9853 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.7103, allocations: 4 kB / 0.9853 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.927e-05/0.7104, allocations: 7.984 kB / 0.9854 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.7105, allocations: 7.984 kB / 0.9854 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.7105, allocations: 8 kB / 0.9854 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.629e-05/0.7105, allocations: 79.28 kB / 0.9854 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7105, allocations: 4 kB / 0.9855 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002392/0.7108, allocations: 16 kB / 0.9855 GB, free: 1.172 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.0003986/0.7112, allocations: 0.7214 MB / 0.9862 GB, free: 432 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.7113, allocations: 55.91 kB / 0.9862 GB, free: 376 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.7113, allocations: 4.062 kB / 0.9862 GB, free: 372 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.784e-05/0.7114, allocations: 20 kB / 0.9862 GB, free: 352 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.7116, allocations: 15 kB / 0.9863 GB, free: 340 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009667/0.7126, allocations: 0.928 MB / 0.9872 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.7128, allocations: 0.6926 MB / 0.9878 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.971e-05/0.7128, allocations: 7.938 kB / 0.9879 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.7129, allocations: 23.38 kB / 0.9879 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of SimCode: time 3.5e-07/0.7129, allocations: 0 / 0.9879 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5276/1.241, allocations: 1.459 MB / 0.9893 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003021/1.241, allocations: 181.2 kB / 0.9895 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.756/4.997, allocations: 3.938 kB / 0.9895 GB, free: 13.02 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat does not exist to compare? outputFormat=mat