Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",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.001569/0.001569, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 194.8 kB / 16.64 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.662/1.662, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 69.95 kB / 0.6718 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2241, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.00221/0.2264, allocations: 0.8217 MB / 0.7844 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.2278, allocations: 1.149 MB / 0.7856 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.043e-05/0.2278, allocations: 4 kB / 0.7856 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.967e-05/0.2279, allocations: 7.938 kB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.551e-05/0.2279, allocations: 11.88 kB / 0.7856 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004251/0.2284, allocations: 142.1 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.2286, allocations: 151.7 kB / 0.7859 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.2287, allocations: 35.97 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.271e-05/0.2288, allocations: 55.84 kB / 0.786 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.2289, allocations: 63.72 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.2289, allocations: 16 kB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.601e-05/0.229, allocations: 31.98 kB / 0.7861 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.229, allocations: 12 kB / 0.7861 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.426e-05/0.2291, allocations: 55.77 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.2293, allocations: 155.8 kB / 0.7863 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2293, allocations: 0 / 0.7863 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2293, allocations: 0 / 0.7863 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2293, allocations: 0 / 0.7863 GB, free: 10.56 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005747/0.2299, allocations: 429 kB / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.2299, allocations: 8.031 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.289e-05/0.23, allocations: 46.67 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.23, allocations: 12.84 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.2301, allocations: 176.2 kB / 0.7869 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.2301, allocations: 8.375 kB / 0.7869 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.2302, allocations: 8.375 kB / 0.7869 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.2304, allocations: 94.19 kB / 0.787 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.2304, allocations: 3.938 kB / 0.787 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.2304, allocations: 0 / 0.787 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.2304, allocations: 0 / 0.787 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.2306, allocations: 67.89 kB / 0.7871 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/0.2312, allocations: 388.4 kB / 0.7875 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.2313, allocations: 54.48 kB / 0.7875 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.432e-05/0.2314, allocations: 36.92 kB / 0.7875 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.2314, allocations: 0 / 0.7875 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002328/0.2317, allocations: 79.38 kB / 0.7876 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.2317, allocations: 0 / 0.7876 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0003947/0.2321, allocations: 133.6 kB / 0.7877 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.2321, allocations: 55.41 kB / 0.7878 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.2322, allocations: 129.7 kB / 0.7879 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.2323, allocations: 29.64 kB / 0.788 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.152e-05/0.2323, allocations: 104 kB / 0.7881 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.2324, allocations: 11.81 kB / 0.7881 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.736e-05/0.2324, allocations: 33.7 kB / 0.7881 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.2326, allocations: 322.8 kB / 0.7884 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.2327, allocations: 55.95 kB / 0.7885 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.2329, allocations: 75.41 kB / 0.7885 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.2331, allocations: 128.2 kB / 0.7887 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2331, allocations: 0 / 0.7887 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003867/0.2335, allocations: 187.2 kB / 0.7888 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/0.2336, allocations: 37.69 kB / 0.7889 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2336, allocations: 4 kB / 0.7889 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.2336, allocations: 0 / 0.7889 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.884e-05/0.2337, allocations: 4 kB / 0.7889 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.2337, allocations: 11.92 kB / 0.7889 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.2339, allocations: 43.95 kB / 0.7889 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.2339, allocations: 11.94 kB / 0.7889 GB, free: 7.543 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.629e-05/0.234, allocations: 118.5 kB / 0.7891 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.234, allocations: 3.906 kB / 0.7891 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.203e-05/0.2341, allocations: 16.36 kB / 0.7891 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2341, allocations: 0 / 0.7891 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2341, allocations: 8.031 kB / 0.7891 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2341, allocations: 3.938 kB / 0.7891 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.2342, allocations: 185.6 kB / 0.7893 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.2343, allocations: 3.984 kB / 0.7893 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.522e-05/0.2343, allocations: 8 kB / 0.7893 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2343, allocations: 0 / 0.7893 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.2343, allocations: 0 / 0.7893 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.2343, allocations: 3.984 kB / 0.7893 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.2343, allocations: 3.938 kB / 0.7893 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.2346, allocations: 124.9 kB / 0.7894 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.442e-05/0.2347, allocations: 85.09 kB / 0.7895 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.2347, allocations: 384 / 0.7895 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.358e-05/0.2348, allocations: 15.98 kB / 0.7895 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.2348, allocations: 11.92 kB / 0.7895 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.2348, allocations: 11.94 kB / 0.7895 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.972e-05/0.2349, allocations: 99.27 kB / 0.7896 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2349, allocations: 0 / 0.7896 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002132/0.2351, allocations: 23.91 kB / 0.7896 GB, free: 6.734 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005713/0.2357, allocations: 0.6632 MB / 0.7903 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003668/0.2361, allocations: 167.3 kB / 0.7904 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2361, allocations: 0 / 0.7904 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.2362, allocations: 39.91 kB / 0.7905 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.2364, allocations: 11.94 kB / 0.7905 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.2383, allocations: 1.603 MB / 0.7921 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.2385, allocations: 0.6963 MB / 0.7927 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.809e-05/0.2386, allocations: 15.91 kB / 0.7928 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.833e-05/0.2386, allocations: 19.44 kB / 0.7928 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2386, allocations: 0 / 0.7928 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0183/0.2569, allocations: 2.779 MB / 0.7955 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.8/8.057, allocations: 7.812 kB / 0.7955 GB, free: 0.6992 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)