Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_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.001066/0.001066, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001085/0.001085, allocations: 191.3 kB / 16.25 MB, free: 6.629 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.331/1.331, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.673/1.673, allocations: 292.3 MB / 0.5486 GB, free: 13.62 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.001336/0.001336, allocations: 71.2 kB / 0.6711 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.212, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001844/0.2138, allocations: 0.8135 MB / 0.7838 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.2152, allocations: 1.255 MB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.083e-05/0.2153, allocations: 0 / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.157e-05/0.2153, allocations: 7.938 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.886e-05/0.2154, allocations: 15.84 kB / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005851/0.216, allocations: 226.5 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.2162, allocations: 267.5 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.266e-05/0.2163, allocations: 16.22 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.2164, allocations: 99.86 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.2165, allocations: 83.7 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.682e-05/0.2166, allocations: 24 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.814e-05/0.2167, allocations: 39.98 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.29e-05/0.2167, allocations: 27.97 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.634e-05/0.2168, allocations: 103.7 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.217, allocations: 219.7 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.217, allocations: 4 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.72e-07/0.217, allocations: 0 / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.2171, allocations: 0 / 0.7861 GB, free: 10.61 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006373/0.2177, allocations: 0.4907 MB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.2177, allocations: 8.031 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.97e-05/0.2178, allocations: 42.73 kB / 0.7866 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.985e-05/0.2178, allocations: 24.77 kB / 0.7866 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000542/0.2184, allocations: 252.2 kB / 0.7869 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.2184, allocations: 12.38 kB / 0.7869 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.324e-05/0.2185, allocations: 20.36 kB / 0.7869 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.2187, allocations: 135.6 kB / 0.7871 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.2187, allocations: 7.938 kB / 0.7871 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.2187, allocations: 8 kB / 0.7871 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2187, allocations: 0 / 0.7871 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.2189, allocations: 59.95 kB / 0.7871 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007143/0.2196, allocations: 0.5123 MB / 0.7876 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.2198, allocations: 161.1 kB / 0.7878 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.76e-05/0.2199, allocations: 69.88 kB / 0.7878 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.427e-06/0.2199, allocations: 4 kB / 0.7878 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003167/0.2203, allocations: 201.7 kB / 0.788 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.2203, allocations: 0 / 0.788 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.0005026/0.2208, allocations: 319.6 kB / 0.7883 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.2208, allocations: 93.05 kB / 0.7884 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.265e-05/0.2209, allocations: 130 kB / 0.7886 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.171e-05/0.221, allocations: 37.7 kB / 0.7886 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.158e-05/0.2211, allocations: 100.6 kB / 0.7887 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.2211, allocations: 51.34 kB / 0.7887 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.2212, allocations: 77.69 kB / 0.7888 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.926e-05/0.2213, allocations: 326.8 kB / 0.7891 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.2215, allocations: 84.23 kB / 0.7892 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.2217, allocations: 156.2 kB / 0.7894 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.222, allocations: 250.7 kB / 0.7896 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.222, allocations: 0 / 0.7896 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005209/0.2225, allocations: 360.8 kB / 0.7899 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/0.2226, allocations: 63.44 kB / 0.79 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.2226, allocations: 4 kB / 0.79 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.2226, allocations: 7.984 kB / 0.79 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.988e-05/0.2227, allocations: 23.88 kB / 0.79 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.2227, allocations: 4 kB / 0.79 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.223, allocations: 67.77 kB / 0.7901 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.2231, allocations: 16 kB / 0.7901 GB, free: 6.125 MB / 0.6075 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 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.2232, allocations: 144 kB / 0.7903 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.2232, allocations: 11.91 kB / 0.7903 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.2233, allocations: 16.48 kB / 0.7903 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.2233, allocations: 7.938 kB / 0.7903 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2233, allocations: 0 / 0.7903 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2233, allocations: 0 / 0.7903 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005549/0.2239, allocations: 0.6109 MB / 0.7909 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2239, allocations: 3.984 kB / 0.7909 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.236e-05/0.2239, allocations: 8 kB / 0.7909 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2239, allocations: 7.875 kB / 0.7909 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.224, allocations: 11.98 kB / 0.7909 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.224, allocations: 3.938 kB / 0.7909 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.224, allocations: 4 kB / 0.7909 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.2244, allocations: 421.3 kB / 0.7913 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.2244, allocations: 88.95 kB / 0.7914 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.2245, allocations: 11.94 kB / 0.7914 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.2246, allocations: 15.97 kB / 0.7914 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.2247, allocations: 24.06 kB / 0.7915 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.2247, allocations: 23.92 kB / 0.7915 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.24e-05/0.2247, allocations: 90.66 kB / 0.7916 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.223e-06/0.2248, allocations: 4 kB / 0.7916 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003346/0.2251, allocations: 59.92 kB / 0.7916 GB, free: 4.477 MB / 0.6075 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 (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.0006961/0.2258, allocations: 0.969 MB / 0.7926 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004699/0.2263, allocations: 362.5 kB / 0.7929 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2263, allocations: 0 / 0.7929 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.2264, allocations: 119.8 kB / 0.793 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.2268, allocations: 24.2 kB / 0.7931 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.2292, allocations: 2.285 MB / 0.7953 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.2295, allocations: 0.7008 MB / 0.796 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.081e-05/0.2295, allocations: 29.52 kB / 0.796 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.018e-05/0.2296, allocations: 31.44 kB / 0.796 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of SimCode: time 1.453e-06/0.2296, allocations: 112 / 0.796 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.134/2.364, allocations: 3.916 MB / 0.7999 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/2.364, allocations: 211.4 kB / 0.8001 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/4.167, allocations: 7.953 kB / 0.8001 GB, free: 11.7 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)