Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001148, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001189/0.001189, allocations: 193.5 kB / 17.29 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.47/2.47, allocations: 442.6 MB / 0.7165 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 64.34 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2859, allocations: 153 MB / 1.027 GB, free: 2.109 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001838/0.2878, allocations: 0.686 MB / 1.027 GB, free: 1.43 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.2891, allocations: 1.183 MB / 1.029 GB, free: 236 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.648e-05/0.2892, allocations: 0 / 1.029 GB, free: 236 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.389e-05/0.2892, allocations: 3.938 kB / 1.029 GB, free: 232 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.142e-05/0.2893, allocations: 7.922 kB / 1.029 GB, free: 224 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.2898, allocations: 147 kB / 1.029 GB, free: 80 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.29, allocations: 135.8 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.472e-05/0.2901, allocations: 11.97 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.558e-05/0.2902, allocations: 47.91 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.2903, allocations: 55.84 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.2903, allocations: 12 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.036e-05/0.2904, allocations: 23.98 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.155e-05/0.2904, allocations: 23.92 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.022e-05/0.2905, allocations: 39.91 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.2907, allocations: 123.6 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2907, allocations: 0 / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2907, allocations: 0 / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.147e-06/0.2907, allocations: 0 / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005906/0.2913, allocations: 397.1 kB / 1.03 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.2914, allocations: 11.97 kB / 1.03 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.363e-05/0.2914, allocations: 12.84 kB / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.2916, allocations: 172.3 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.2916, allocations: 4.375 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.2916, allocations: 8.375 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.2918, allocations: 78.2 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.2919, allocations: 192 / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.2919, allocations: 3.938 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2919, allocations: 0 / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.292, allocations: 43.91 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004481/0.2925, allocations: 328.8 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.2927, allocations: 70.48 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.2928, allocations: 36.91 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.2929, allocations: 0 / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002648/0.2931, allocations: 111.2 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 2.985e-06/0.2931, allocations: 0 / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0005076/0.2937, allocations: 185.4 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.2937, allocations: 55.41 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.545e-05/0.2938, allocations: 109.8 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.2938, allocations: 33.7 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.2939, allocations: 84.14 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.2939, allocations: 31.62 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.718e-05/0.294, allocations: 41.7 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.886e-05/0.2941, allocations: 318.8 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.2943, allocations: 51.97 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.2944, allocations: 70.55 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.2947, allocations: 124.1 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2947, allocations: 0 / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003974/0.2951, allocations: 191.3 kB / 1.032 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/0.2951, allocations: 37.7 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2951, allocations: 7.922 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.2952, allocations: 3.984 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.2953, allocations: 15.94 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2953, allocations: 0 / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.2955, allocations: 36.77 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.2955, allocations: 12 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,triggeredTrapezoid1.T,triggeredTrapezoid1.rate,triggeredTrapezoid1.endValue,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 9.486e-05/0.2956, allocations: 127.2 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.2957, allocations: 7.891 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.2957, allocations: 12.38 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2957, allocations: 0 / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2957, allocations: 0 / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2957, allocations: 4 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004981/0.2962, allocations: 406.3 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2962, allocations: 0 / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.763e-05/0.2963, allocations: 11.92 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2963, allocations: 0 / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.2963, allocations: 4 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.2963, allocations: 4 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2963, allocations: 0 / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003674/0.2967, allocations: 247.3 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.505e-05/0.2967, allocations: 85.03 kB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.2968, allocations: 8 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.645e-05/0.2969, allocations: 0 / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.2969, allocations: 7.984 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.2969, allocations: 4 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.904e-05/0.297, allocations: 95.2 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.297, allocations: 0 / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002687/0.2973, allocations: 32 kB / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001417/0.2974, allocations: 103.2 kB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003585/0.2978, allocations: 179.8 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2978, allocations: 0 / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.298, allocations: 56.05 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.2982, allocations: 17.94 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.2986, allocations: 178.7 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.2989, allocations: 0.6846 MB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.896e-05/0.2989, allocations: 4.656 kB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.371e-05/0.2989, allocations: 11.44 kB / 1.034 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.2989, allocations: 0 / 1.034 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of Templates: time 0.00409/0.303, allocations: 1.667 MB / 1.036 GB, free: 8.641 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)