Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_10_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.007683/0.007683, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.002012/0.002012, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.54/2.54, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002458/0.002458, allocations: 63.84 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9585/0.961, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001918/0.963, allocations: 0.662 MB / 1.167 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.9645, allocations: 1.173 MB / 1.168 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.005e-05/0.9646, allocations: 4 kB / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.834e-05/0.9647, allocations: 3.938 kB / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.378e-05/0.9647, allocations: 11.88 kB / 1.168 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000495/0.9652, allocations: 142.4 kB / 1.168 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.9654, allocations: 139.8 kB / 1.168 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.726e-05/0.9655, allocations: 4 kB / 1.168 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.9656, allocations: 55.88 kB / 1.168 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.9657, allocations: 55.86 kB / 1.168 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.9658, allocations: 15.94 kB / 1.168 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.202e-05/0.9659, allocations: 23.98 kB / 1.168 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.58e-05/0.9659, allocations: 19.92 kB / 1.168 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.121e-05/0.966, allocations: 43.89 kB / 1.168 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.9662, allocations: 123.3 kB / 1.169 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.9662, allocations: 4 kB / 1.169 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9662, allocations: 0 / 1.169 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.9662, allocations: 0 / 1.169 GB, free: 1.309 MB / 0.8887 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.0006044/0.9668, allocations: 401 kB / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.9668, allocations: 8.922 kB / 1.169 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.738e-05/0.9669, allocations: 34.75 kB / 1.169 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.9669, allocations: 8.891 kB / 1.169 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.967, allocations: 168.3 kB / 1.169 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.9671, allocations: 16.3 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.9671, allocations: 8.375 kB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.9673, allocations: 74.2 kB / 1.169 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.9673, allocations: 3.938 kB / 1.169 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.9673, allocations: 7.922 kB / 1.169 GB, free: 496 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.9674, allocations: 4 kB / 1.169 GB, free: 492 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.9675, allocations: 35.97 kB / 1.169 GB, free: 456 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.968, allocations: 324.8 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.9682, allocations: 78.42 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.9683, allocations: 36.89 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.9683, allocations: 0 / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002843/0.9686, allocations: 103.3 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.9686, allocations: 4 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0005118/0.9691, allocations: 177.5 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.9692, allocations: 59.34 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.079e-05/0.9693, allocations: 117.8 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.9693, allocations: 29.64 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.304e-05/0.9694, allocations: 92.09 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.9694, allocations: 15.91 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.967e-05/0.9695, allocations: 41.69 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.9696, allocations: 322.8 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.9698, allocations: 47.97 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.97, allocations: 72.03 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.9702, allocations: 124.2 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.9702, allocations: 8 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004032/0.9706, allocations: 191.2 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.59e-05/0.9707, allocations: 33.7 kB / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.9707, allocations: 0 / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.9707, allocations: 4 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.9708, allocations: 16.08 kB / 1.171 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.9708, allocations: 3.938 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.971, allocations: 39.91 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.9711, allocations: 11.97 kB / 1.171 GB, free: 14.36 MB / 0.9044 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 0.0001097/0.9712, allocations: 125.7 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.9712, allocations: 7.953 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.188e-05/0.9712, allocations: 8.375 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.9712, allocations: 0 / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.9713, allocations: 0 / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.9713, allocations: 7.984 kB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005258/0.9718, allocations: 406.4 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.9718, allocations: 0 / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.663e-05/0.9719, allocations: 8 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.9719, allocations: 0 / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.9719, allocations: 3.984 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.9719, allocations: 0 / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.9719, allocations: 0 / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.9723, allocations: 247.3 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.9724, allocations: 85.06 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.9724, allocations: 4 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.974e-05/0.9725, allocations: 3.984 kB / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.844e-05/0.9726, allocations: 11.98 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.9726, allocations: 7.938 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.731e-05/0.9727, allocations: 99.33 kB / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.9727, allocations: 0 / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002989/0.973, allocations: 24 kB / 1.172 GB, free: 13.23 MB / 0.9044 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.0009561/0.974, allocations: 0.7809 MB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004558/0.9744, allocations: 183.3 kB / 1.173 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.9744, allocations: 0 / 1.173 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.9746, allocations: 56.05 kB / 1.173 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.975, allocations: 19.92 kB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.9773, allocations: 1.647 MB / 1.175 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.9776, allocations: 0.6885 MB / 1.175 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.338e-05/0.9777, allocations: 4.672 kB / 1.175 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.73e-05/0.9777, allocations: 23.42 kB / 1.176 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of SimCode: time 1.172e-06/0.9777, allocations: 0 / 1.176 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02092/0.9987, allocations: 2.738 MB / 1.178 GB, free: 7.066 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.775/8.774, allocations: 20.11 kB / 1.178 GB, free: 7.055 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches