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.001043/0.001044, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001373/0.001374, allocations: 172.7 kB / 15.95 MB, free: 208 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.468/1.468, allocations: 223.3 MB / 240 MB, free: 5.219 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.773/2.773, allocations: 409.4 MB / 0.684 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004022/0.0004025, allocations: 12 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8257/0.8261, allocations: 146.8 MB / 0.9812 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001201/0.8274, allocations: 459.6 kB / 0.9816 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00232/0.8297, allocations: 1.248 MB / 0.9828 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.8299, allocations: 0 / 0.9828 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.291e-05/0.83, allocations: 0 / 0.9828 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.8301, allocations: 15.84 kB / 0.9828 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009971/0.8311, allocations: 214.1 kB / 0.983 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003437/0.8315, allocations: 207.6 kB / 0.9832 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.8316, allocations: 20.16 kB / 0.9832 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.8319, allocations: 87.8 kB / 0.9833 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.8321, allocations: 79.77 kB / 0.9834 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.537e-05/0.8322, allocations: 12 kB / 0.9834 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.8323, allocations: 27.98 kB / 0.9834 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.037e-05/0.8323, allocations: 19.91 kB / 0.9835 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.8324, allocations: 53.64 kB / 0.9835 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.8327, allocations: 161.9 kB / 0.9837 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.8327, allocations: 0 / 0.9837 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.775e-06/0.8327, allocations: 0 / 0.9837 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.8327, allocations: 0 / 0.9837 GB, free: 3.68 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.0007784/0.8335, allocations: 466.4 kB / 0.9841 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.8336, allocations: 12.02 kB / 0.9841 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.39e-05/0.8337, allocations: 38.56 kB / 0.9842 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.053e-05/0.8337, allocations: 23.89 kB / 0.9842 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005977/0.8343, allocations: 250.9 kB / 0.9844 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.8344, allocations: 15.98 kB / 0.9844 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.582e-05/0.8344, allocations: 20 kB / 0.9845 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.8347, allocations: 147.1 kB / 0.9846 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.8347, allocations: 0 / 0.9846 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.8347, allocations: 0 / 0.9846 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.8347, allocations: 4 kB / 0.9846 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.8349, allocations: 59.95 kB / 0.9847 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007668/0.8357, allocations: 0.5279 MB / 0.9852 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.8359, allocations: 161.2 kB / 0.9853 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.836, allocations: 61.69 kB / 0.9854 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.8361, allocations: 4 kB / 0.9854 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00038/0.8365, allocations: 214.1 kB / 0.9856 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=22): time 1.824e-06/0.8365, allocations: 0 / 0.9856 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22): time 0.0005768/0.837, allocations: 307.4 kB / 0.9859 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.207e-05/0.8371, allocations: 81.11 kB / 0.986 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.8373, allocations: 132.1 kB / 0.9861 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.737e-05/0.8373, allocations: 38.08 kB / 0.9861 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.545e-05/0.8374, allocations: 108.8 kB / 0.9862 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.587e-05/0.8375, allocations: 51.36 kB / 0.9863 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.8375, allocations: 8 kB / 0.9863 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.8376, allocations: 326.8 kB / 0.9866 GB, free: 416 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.8378, allocations: 84.23 kB / 0.9867 GB, free: 332 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.838, allocations: 156.2 kB / 0.9868 GB, free: 148 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.8382, allocations: 143.4 kB / 0.987 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8383, allocations: 0 / 0.987 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005557/0.8388, allocations: 352.6 kB / 0.9873 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.415e-05/0.8389, allocations: 71.39 kB / 0.9874 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.8389, allocations: 0 / 0.9874 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.8389, allocations: 4 kB / 0.9874 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.83e-05/0.839, allocations: 19.92 kB / 0.9874 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.839, allocations: 4 kB / 0.9874 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.8394, allocations: 91.84 kB / 0.9875 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.909e-05/0.8394, allocations: 19.98 kB / 0.9875 GB, free: 15.41 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.0001605/0.8396, allocations: 148 kB / 0.9876 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.8397, allocations: 19.81 kB / 0.9877 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.293e-05/0.8397, allocations: 12.5 kB / 0.9877 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.8397, allocations: 0 / 0.9877 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.8397, allocations: 7.984 kB / 0.9877 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.8397, allocations: 0 / 0.9877 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008125/0.8406, allocations: 0.6156 MB / 0.9883 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.8406, allocations: 0 / 0.9883 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.77e-05/0.8406, allocations: 15.98 kB / 0.9883 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.8406, allocations: 3.984 kB / 0.9883 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.8407, allocations: 7.984 kB / 0.9883 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.8407, allocations: 96 / 0.9883 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.8407, allocations: 7.938 kB / 0.9883 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004182/0.8411, allocations: 426.2 kB / 0.9887 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.255e-05/0.8412, allocations: 92.91 kB / 0.9888 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.235e-05/0.8412, allocations: 8 kB / 0.9888 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.8413, allocations: 11.98 kB / 0.9888 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.927e-05/0.8414, allocations: 27.95 kB / 0.9889 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.8414, allocations: 15.98 kB / 0.9889 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.056e-05/0.8415, allocations: 93.89 kB / 0.989 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8415, allocations: 4 kB / 0.989 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003654/0.8419, allocations: 52 kB / 0.989 GB, free: 13.76 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.000748/0.8426, allocations: 0.9681 MB / 0.99 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004676/0.8431, allocations: 346.9 kB / 0.9903 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.8431, allocations: 4.062 kB / 0.9903 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.8433, allocations: 111.9 kB / 0.9904 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.8437, allocations: 27.97 kB / 0.9904 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.8453, allocations: 0.9862 MB / 0.9914 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.8456, allocations: 0.7085 MB / 0.9921 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.874e-05/0.8456, allocations: 21.55 kB / 0.9921 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.828e-05/0.8457, allocations: 35.42 kB / 0.9921 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.8457, allocations: 0 / 0.9921 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01397/0.8597, allocations: 3.636 MB / 0.9957 GB, free: 6.93 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/0.8599, allocations: 192.2 kB / 0.9959 GB, free: 6.688 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/2.654, allocations: 0 / 0.9959 GB, free: 6.688 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