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.001268/0.001268, allocations: 108 kB / 15.6 MB, free: 132 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.00124/0.001241, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.818/1.818, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.726/1.726, allocations: 292.3 MB / 0.5489 GB, free: 13.52 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.001283/0.001283, allocations: 67.59 kB / 0.6716 GB, free: 25.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2701, allocations: 114.5 MB / 0.7835 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001911/0.272, allocations: 0.6891 MB / 0.7842 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.2733, allocations: 1.156 MB / 0.7853 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.924e-05/0.2733, allocations: 4 kB / 0.7853 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.823e-05/0.2734, allocations: 3.938 kB / 0.7853 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.033e-05/0.2734, allocations: 15.84 kB / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.2738, allocations: 134.4 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.2739, allocations: 147.8 kB / 0.7856 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.047e-05/0.274, allocations: 11.98 kB / 0.7856 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.761e-05/0.274, allocations: 59.89 kB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.483e-05/0.2741, allocations: 47.81 kB / 0.7857 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.2741, allocations: 16 kB / 0.7857 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.054e-05/0.2742, allocations: 27.98 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.072e-05/0.2742, allocations: 19.97 kB / 0.7858 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.2743, allocations: 51.84 kB / 0.7858 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.2744, allocations: 135.9 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.2744, allocations: 3.938 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.91e-07/0.2744, allocations: 0 / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.2745, allocations: 0 / 0.7859 GB, free: 10.94 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.0004571/0.2749, allocations: 417 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.488e-05/0.2749, allocations: 12.03 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.222e-05/0.275, allocations: 46.73 kB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.275, allocations: 8.938 kB / 0.7864 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.2754, allocations: 208.4 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.2754, allocations: 8.312 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.2754, allocations: 16.38 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.2756, allocations: 85.88 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.2756, allocations: 0 / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.2756, allocations: 8 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.2756, allocations: 0 / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.41e-05/0.2757, allocations: 43.91 kB / 0.7868 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005564/0.2763, allocations: 356.7 kB / 0.7871 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.2765, allocations: 90.48 kB / 0.7872 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.001e-05/0.2765, allocations: 44.84 kB / 0.7872 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.2765, allocations: 0 / 0.7872 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.2768, allocations: 131.4 kB / 0.7873 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.2768, allocations: 0 / 0.7873 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0003591/0.2772, allocations: 205.5 kB / 0.7875 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.2772, allocations: 63.39 kB / 0.7876 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.607e-05/0.2773, allocations: 109.8 kB / 0.7877 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.2773, allocations: 29.7 kB / 0.7877 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.86e-05/0.2774, allocations: 93.19 kB / 0.7878 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.2774, allocations: 27.62 kB / 0.7879 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.42e-05/0.2775, allocations: 49.69 kB / 0.7879 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.209e-05/0.2776, allocations: 314.8 kB / 0.7882 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.848e-05/0.2777, allocations: 51.97 kB / 0.7883 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.2778, allocations: 88.27 kB / 0.7883 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.278, allocations: 137 kB / 0.7885 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.278, allocations: 8 kB / 0.7885 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003017/0.2783, allocations: 203.2 kB / 0.7887 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.2784, allocations: 34.64 kB / 0.7887 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.2784, allocations: 4 kB / 0.7887 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.2784, allocations: 3.938 kB / 0.7887 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.786e-05/0.2785, allocations: 15.92 kB / 0.7887 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.2785, allocations: 4 kB / 0.7887 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.2787, allocations: 35.94 kB / 0.7888 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.2787, allocations: 15.98 kB / 0.7888 GB, free: 7.746 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.0001176/0.2788, allocations: 130.6 kB / 0.7889 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.73e-05/0.2789, allocations: 8 kB / 0.7889 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/0.2789, allocations: 8.5 kB / 0.7889 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.2789, allocations: 7.984 kB / 0.7889 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.2789, allocations: 3.984 kB / 0.7889 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2789, allocations: 0 / 0.7889 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.2794, allocations: 438.4 kB / 0.7893 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2794, allocations: 0 / 0.7893 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.074e-05/0.2794, allocations: 7.938 kB / 0.7894 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.2794, allocations: 4 kB / 0.7894 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.2794, allocations: 7.984 kB / 0.7894 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2795, allocations: 0 / 0.7894 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2795, allocations: 0 / 0.7894 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.2797, allocations: 266.2 kB / 0.7896 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.2798, allocations: 92.89 kB / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.2798, allocations: 3.984 kB / 0.7897 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.206e-05/0.2799, allocations: 8 kB / 0.7897 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.28, allocations: 19.91 kB / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.28, allocations: 8 kB / 0.7897 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.881e-05/0.28, allocations: 87.56 kB / 0.7898 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.28, allocations: 0 / 0.7898 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002669/0.2803, allocations: 32 kB / 0.7899 GB, free: 6.539 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.0006078/0.2809, allocations: 0.8123 MB / 0.7907 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003252/0.2813, allocations: 195.2 kB / 0.7908 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2813, allocations: 0 / 0.7908 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.929e-05/0.2814, allocations: 72.22 kB / 0.7909 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.2817, allocations: 22.67 kB / 0.7909 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.2834, allocations: 1.709 MB / 0.7926 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.2837, allocations: 0.6924 MB / 0.7933 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.045e-05/0.2837, allocations: 8.562 kB / 0.7933 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.605e-05/0.2838, allocations: 23.42 kB / 0.7933 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of SimCode: time 5.81e-07/0.2838, allocations: 0 / 0.7933 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.3029, allocations: 2.739 MB / 0.796 GB, free: 240 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.484/7.787, allocations: 15.28 kB / 0.796 GB, free: 228 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)