Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 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.TriggeredTrapezoid,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",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.00121/0.001211, allocations: 105.4 kB / 15.7 MB, free: 24 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.001119/0.001119, allocations: 196.8 kB / 16.64 MB, free: 6.449 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.445/1.445, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.686/1.686, 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.001444/0.001444, allocations: 77.92 kB / 0.6718 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.255, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.00207/0.2571, allocations: 0.6707 MB / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001526/0.2587, allocations: 1.18 MB / 0.7855 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.742e-05/0.2587, allocations: 0 / 0.7855 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.946e-05/0.2588, allocations: 0 / 0.7855 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.416e-05/0.2588, allocations: 11.88 kB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005099/0.2593, allocations: 146.8 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.2595, allocations: 131.7 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.928e-05/0.2596, allocations: 8 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.692e-05/0.2597, allocations: 59.81 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.2599, allocations: 51.88 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.2599, allocations: 8 kB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.304e-05/0.26, allocations: 27.98 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.869e-05/0.26, allocations: 19.97 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.797e-05/0.2601, allocations: 47.78 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.2603, allocations: 119.9 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2603, allocations: 0 / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2603, allocations: 0 / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2603, allocations: 4 kB / 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000595/0.2609, allocations: 407.8 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.2609, allocations: 8.031 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.952e-05/0.261, allocations: 38.73 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.261, allocations: 8.938 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.2611, allocations: 172.2 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.2612, allocations: 4.375 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.2612, allocations: 8.375 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.2614, allocations: 70.2 kB / 0.7867 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.2614, allocations: 3.938 kB / 0.7868 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.2614, allocations: 4 kB / 0.7868 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.2614, allocations: 0 / 0.7868 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.2616, allocations: 43.95 kB / 0.7868 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004508/0.2621, allocations: 320.8 kB / 0.7871 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.2623, allocations: 74.42 kB / 0.7872 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.2624, allocations: 37.97 kB / 0.7872 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.2624, allocations: 3.984 kB / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002438/0.2627, allocations: 103.2 kB / 0.7873 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.2627, allocations: 3.938 kB / 0.7873 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.000484/0.2632, allocations: 177.9 kB / 0.7875 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.2632, allocations: 55.34 kB / 0.7875 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.262e-05/0.2633, allocations: 125.7 kB / 0.7877 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.2634, allocations: 33.7 kB / 0.7877 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.2634, allocations: 88.12 kB / 0.7878 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.2634, allocations: 19.81 kB / 0.7878 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.239e-05/0.2635, allocations: 33.7 kB / 0.7878 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.2636, allocations: 326.8 kB / 0.7881 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.2638, allocations: 47.97 kB / 0.7882 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.2639, allocations: 74.48 kB / 0.7883 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.2642, allocations: 132.1 kB / 0.7884 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2642, allocations: 0 / 0.7884 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003834/0.2646, allocations: 195.2 kB / 0.7886 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.068e-05/0.2646, allocations: 41.69 kB / 0.7886 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2646, allocations: 0 / 0.7886 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.2646, allocations: 0 / 0.7886 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.2648, allocations: 11.98 kB / 0.7886 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.2648, allocations: 8.062 kB / 0.7886 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.265, allocations: 27.91 kB / 0.7887 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.265, allocations: 12 kB / 0.7887 GB, free: 7.809 MB / 0.6075 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.6e-05/0.2651, allocations: 124.2 kB / 0.7888 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.2651, allocations: 7.906 kB / 0.7888 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.456e-05/0.2651, allocations: 8.375 kB / 0.7888 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.2651, allocations: 0 / 0.7888 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2652, allocations: 4 kB / 0.7888 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.2652, allocations: 0 / 0.7888 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004813/0.2656, allocations: 410.3 kB / 0.7892 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2657, allocations: 0 / 0.7892 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.64e-05/0.2657, allocations: 4 kB / 0.7892 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2657, allocations: 0.5625 kB / 0.7892 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.2657, allocations: 4 kB / 0.7892 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2657, allocations: 3.938 kB / 0.7892 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2657, allocations: 3.984 kB / 0.7892 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.2661, allocations: 251.2 kB / 0.7894 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/0.2661, allocations: 81.02 kB / 0.7895 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.2662, allocations: 0 / 0.7895 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.291e-05/0.2663, allocations: 11.98 kB / 0.7895 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.2663, allocations: 7.938 kB / 0.7895 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.2663, allocations: 11.92 kB / 0.7896 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.668e-05/0.2664, allocations: 91.28 kB / 0.7896 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2664, allocations: 0 / 0.7896 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000246/0.2666, allocations: 24 kB / 0.7897 GB, free: 6.684 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: 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.0006378/0.2673, allocations: 0.7787 MB / 0.7904 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003421/0.2676, allocations: 183.3 kB / 0.7906 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2676, allocations: 0.6562 kB / 0.7906 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.2678, allocations: 55.91 kB / 0.7907 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.2681, allocations: 20.05 kB / 0.7907 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.2699, allocations: 1.652 MB / 0.7923 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.2701, allocations: 0.6885 MB / 0.793 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.045e-05/0.2702, allocations: 4.672 kB / 0.793 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.2702, allocations: 23.42 kB / 0.793 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of SimCode: time 1.703e-06/0.2702, allocations: 0 / 0.793 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01891/0.2891, allocations: 2.711 MB / 0.7956 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.457/7.746, allocations: 10.5 kB / 0.7956 GB, free: 0.5234 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)