Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.801/2.801, allocations: 287.5 MB / 302.4 MB, free: 8.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001343/0.001342, allocations: 184.9 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.182/2.182, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009784/0.0009779, allocations: 86.41 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006582/0.0006585, allocations: 14.91 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2374, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001817/0.2393, allocations: 1.192 MB / 0.9796 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009062/0.2403, allocations: 457 kB / 0.98 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.424e-05/0.2403, allocations: 0 / 0.98 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.2404, allocations: 4 kB / 0.98 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.832e-05/0.2405, allocations: 7.922 kB / 0.9801 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.2406, allocations: 19.98 kB / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.585e-05/0.2407, allocations: 43.84 kB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.917e-05/0.2408, allocations: 11.98 kB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.099e-05/0.2409, allocations: 15.94 kB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.114e-05/0.241, allocations: 15.92 kB / 0.9802 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.241, allocations: 0 / 0.9802 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.512e-05/0.241, allocations: 4 kB / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.2411, allocations: 19.91 kB / 0.9802 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.317e-05/0.2411, allocations: 33.7 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.973e-05/0.2412, allocations: 32.16 kB / 0.9802 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2412, allocations: 0 / 0.9802 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.896e-06/0.2412, allocations: 0 / 0.9802 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2412, allocations: 3.938 kB / 0.9802 GB, free: 26.41 MB / 0.6198 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.0005227/0.2418, allocations: 353.4 kB / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.2418, allocations: 16.02 kB / 0.9806 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.733e-05/0.2419, allocations: 42.48 kB / 0.9806 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.2419, allocations: 7.859 kB / 0.9806 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.242, allocations: 171 kB / 0.9808 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.2421, allocations: 8 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.868e-05/0.2421, allocations: 4 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.2422, allocations: 53.67 kB / 0.9809 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.2423, allocations: 0 / 0.9809 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.2423, allocations: 4 kB / 0.9809 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.2423, allocations: 4 kB / 0.9809 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.424e-05/0.2424, allocations: 27.92 kB / 0.9809 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005505/0.243, allocations: 308.7 kB / 0.9812 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.2431, allocations: 54.59 kB / 0.9813 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.31e-05/0.2432, allocations: 24.95 kB / 0.9813 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.2432, allocations: 0 / 0.9813 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.2434, allocations: 75.36 kB / 0.9813 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.064e-06/0.2434, allocations: 0 / 0.9813 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002863/0.2437, allocations: 101.6 kB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.2438, allocations: 55.41 kB / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.008e-05/0.2439, allocations: 109.8 kB / 0.9816 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.2439, allocations: 33.69 kB / 0.9816 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.2439, allocations: 84.14 kB / 0.9817 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.244, allocations: 23.66 kB / 0.9817 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.244, allocations: 384 / 0.9817 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.424e-05/0.2441, allocations: 322.8 kB / 0.982 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.118e-05/0.2441, allocations: 15.94 kB / 0.9821 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.032e-05/0.2442, allocations: 51.36 kB / 0.9821 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.518e-05/0.2443, allocations: 36.05 kB / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2443, allocations: 0 / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001846/0.2445, allocations: 89.61 kB / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2445, allocations: 4 kB / 0.9822 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2445, allocations: 4 kB / 0.9822 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.2446, allocations: 3.953 kB / 0.9822 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.2447, allocations: 15.92 kB / 0.9823 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.2447, allocations: 4 kB / 0.9823 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.2448, allocations: 15.94 kB / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.2449, allocations: 4 kB / 0.9823 GB, free: 24.09 MB / 0.6198 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.548e-05/0.245, allocations: 121.8 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.245, allocations: 4 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.245, allocations: 7.969 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.245, allocations: 3.953 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.2451, allocations: 0 / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.2451, allocations: 4 kB / 0.9824 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004926/0.2456, allocations: 374.3 kB / 0.9828 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2456, allocations: 0 / 0.9828 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.064e-05/0.2456, allocations: 7.984 kB / 0.9828 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.2457, allocations: 3.953 kB / 0.9828 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.2457, allocations: 0 / 0.9828 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2457, allocations: 0 / 0.9828 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2457, allocations: 0 / 0.9828 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.2459, allocations: 183.5 kB / 0.983 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.887e-05/0.2459, allocations: 85.02 kB / 0.983 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.246, allocations: 7.953 kB / 0.983 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.2461, allocations: 7.984 kB / 0.9831 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-05/0.2462, allocations: 7.984 kB / 0.9831 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.2462, allocations: 4.188 kB / 0.9831 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.63e-05/0.2462, allocations: 87.28 kB / 0.9831 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2463, allocations: 3.938 kB / 0.9832 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002944/0.2466, allocations: 16 kB / 0.9832 GB, free: 23.08 MB / 0.6198 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.0003913/0.247, allocations: 0.7046 MB / 0.9839 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001889/0.2472, allocations: 59.86 kB / 0.9839 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2472, allocations: 0 / 0.9839 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.675e-05/0.2473, allocations: 23.98 kB / 0.9839 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.2476, allocations: 20.3 kB / 0.984 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009244/0.2486, allocations: 475.2 kB / 0.9844 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001698/0.2488, allocations: 0.6848 MB / 0.9851 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.669e-05/0.2488, allocations: 4 kB / 0.9851 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.735e-05/0.2489, allocations: 19.42 kB / 0.9851 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of SimCode: time 1.302e-06/0.2489, allocations: 0 / 0.9851 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01989/0.2688, allocations: 1.498 MB / 0.9866 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002428/0.2691, allocations: 204.2 kB / 0.9868 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.535/2.804, allocations: 3.938 kB / 0.9868 GB, free: 19.39 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_8.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)