Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.TimerNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",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.001115/0.001115, allocations: 109.4 kB / 15.69 MB, free: 128 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.001194/0.001194, allocations: 189.5 kB / 16.62 MB, free: 6.582 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.481/1.481, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.793/1.793, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001492/0.001493, allocations: 71.75 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2773, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002132/0.2795, allocations: 0.6784 MB / 0.7843 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001637/0.2812, allocations: 1.16 MB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.795e-05/0.2813, allocations: 0 / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.08e-05/0.2813, allocations: 3.938 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.478e-05/0.2814, allocations: 11.92 kB / 0.7855 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005341/0.282, allocations: 142.7 kB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.2822, allocations: 143.8 kB / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.2823, allocations: 15.98 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.331e-05/0.2824, allocations: 51.91 kB / 0.7858 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.2825, allocations: 63.73 kB / 0.7859 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.2825, allocations: 12 kB / 0.7859 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.443e-05/0.2826, allocations: 27.92 kB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.113e-05/0.2826, allocations: 19.97 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.9e-05/0.2827, allocations: 55.83 kB / 0.786 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.2829, allocations: 131.9 kB / 0.7861 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2829, allocations: 0 / 0.7861 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2829, allocations: 7.938 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.283, allocations: 0 / 0.7861 GB, free: 10.75 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006403/0.2836, allocations: 425 kB / 0.7865 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.2837, allocations: 12.03 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.133e-05/0.2837, allocations: 30.75 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.2838, allocations: 12.92 kB / 0.7866 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004111/0.2842, allocations: 212.3 kB / 0.7868 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.2842, allocations: 8.375 kB / 0.7868 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.2842, allocations: 20.36 kB / 0.7868 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.2844, allocations: 81.95 kB / 0.7869 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.2844, allocations: 0 / 0.7869 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.2845, allocations: 7.984 kB / 0.7869 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.299e-06/0.2845, allocations: 0 / 0.7869 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.063e-05/0.2846, allocations: 39.91 kB / 0.7869 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005968/0.2852, allocations: 356.6 kB / 0.7872 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.2853, allocations: 98.53 kB / 0.7873 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.461e-05/0.2854, allocations: 32.84 kB / 0.7874 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.2854, allocations: 0 / 0.7874 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003005/0.2857, allocations: 146.4 kB / 0.7875 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.2858, allocations: 0 / 0.7875 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0003796/0.2861, allocations: 201.5 kB / 0.7877 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.2862, allocations: 55.41 kB / 0.7878 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.607e-05/0.2863, allocations: 109.8 kB / 0.7879 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.2863, allocations: 37.69 kB / 0.7879 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.2864, allocations: 89.2 kB / 0.788 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.2864, allocations: 27.61 kB / 0.788 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.827e-05/0.2865, allocations: 53.64 kB / 0.7881 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.2866, allocations: 326.8 kB / 0.7884 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.976e-05/0.2867, allocations: 51.91 kB / 0.7884 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.2869, allocations: 82.84 kB / 0.7885 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.287, allocations: 137.9 kB / 0.7886 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.2871, allocations: 0 / 0.7886 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003175/0.2874, allocations: 222.7 kB / 0.7888 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.375e-05/0.2874, allocations: 37.69 kB / 0.7889 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2874, allocations: 0 / 0.7889 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.2875, allocations: 4 kB / 0.7889 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.314e-05/0.2875, allocations: 4.125 kB / 0.7889 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.2876, allocations: 8 kB / 0.7889 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.2878, allocations: 47.73 kB / 0.7889 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.2878, allocations: 8 kB / 0.789 GB, free: 7.547 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 0.0001259/0.2879, allocations: 126.4 kB / 0.7891 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.288, allocations: 7.984 kB / 0.7891 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/0.288, allocations: 12.5 kB / 0.7891 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.288, allocations: 4 kB / 0.7891 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.288, allocations: 0 / 0.7891 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.288, allocations: 0 / 0.7891 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004091/0.2884, allocations: 434.3 kB / 0.7895 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2885, allocations: 0 / 0.7895 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.995e-05/0.2885, allocations: 7.984 kB / 0.7895 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.2885, allocations: 0 / 0.7895 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.2885, allocations: 8 kB / 0.7895 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.2885, allocations: 0 / 0.7895 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2885, allocations: 4 kB / 0.7895 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.2888, allocations: 263.4 kB / 0.7898 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.115e-05/0.2888, allocations: 88.95 kB / 0.7899 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.2889, allocations: 0 / 0.7899 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.37e-05/0.289, allocations: 11.98 kB / 0.7899 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.429e-05/0.289, allocations: 19.91 kB / 0.7899 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.2891, allocations: 11.98 kB / 0.7899 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.364e-05/0.2891, allocations: 91.28 kB / 0.79 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2891, allocations: 0 / 0.79 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002698/0.2894, allocations: 31.98 kB / 0.79 GB, free: 6.348 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: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0007102/0.2901, allocations: 0.8084 MB / 0.7908 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003331/0.2905, allocations: 195.5 kB / 0.791 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2905, allocations: 0 / 0.791 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.2906, allocations: 78.78 kB / 0.7911 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.2909, allocations: 26.52 kB / 0.7911 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.2929, allocations: 1.699 MB / 0.7928 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.2932, allocations: 0.6885 MB / 0.7934 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.351e-05/0.2932, allocations: 12.56 kB / 0.7934 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.2933, allocations: 23.42 kB / 0.7935 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.2933, allocations: 0 / 0.7935 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02/0.3133, allocations: 2.752 MB / 0.7962 GB, free: 48 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.349/7.662, allocations: 14.78 kB / 0.7962 GB, free: 36 kB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1)