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.01327/0.01327, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002559/0.002559, allocations: 202.2 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.95/2.95, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 5.617/5.617, allocations: 437 MB / 0.7105 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002826/0.002826, allocations: 72.11 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6626/0.6655, allocations: 151.6 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002978/0.6686, allocations: 0.6601 MB / 1.167 GB, free: 6.676 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002944/0.6715, allocations: 1.179 MB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.023e-05/0.6717, allocations: 4 kB / 1.168 GB, free: 5.477 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.41e-05/0.6718, allocations: 3.938 kB / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.6719, allocations: 7.875 kB / 1.168 GB, free: 5.465 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.6732, allocations: 143.7 kB / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003505/0.6736, allocations: 143.7 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.6737, allocations: 4 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.6739, allocations: 55.88 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.6741, allocations: 47.88 kB / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.004e-05/0.6742, allocations: 12 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.6743, allocations: 27.92 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.401e-05/0.6744, allocations: 19.97 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.6745, allocations: 43.83 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.6748, allocations: 116 kB / 1.169 GB, free: 4.863 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.6748, allocations: 4 kB / 1.169 GB, free: 4.859 MB / 0.92 GB Notification: Performance of FrontEnd: time 5.691e-06/0.6749, allocations: 0 / 1.169 GB, free: 4.859 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.6749, allocations: 3.938 kB / 1.169 GB, free: 4.855 MB / 0.92 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.001141/0.676, allocations: 405 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.278e-05/0.6761, allocations: 8.031 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.648e-05/0.6762, allocations: 38.73 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.909e-05/0.6763, allocations: 8.891 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.6766, allocations: 172.3 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.146e-05/0.6766, allocations: 4.375 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.665e-05/0.6767, allocations: 16.36 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004041/0.6771, allocations: 70.16 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.6771, allocations: 3.938 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.6772, allocations: 3.984 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.6772, allocations: 0 / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/0.6775, allocations: 39.97 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00089/0.6784, allocations: 320.8 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004244/0.6789, allocations: 78.42 kB / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.6791, allocations: 36.91 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.6791, allocations: 0 / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004575/0.6796, allocations: 107.3 kB / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 2.815e-06/0.6796, allocations: 4 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.001048/0.6807, allocations: 177.5 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.374e-05/0.6808, allocations: 55.41 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.681, allocations: 117.8 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.074e-05/0.6811, allocations: 25.7 kB / 1.17 GB, free: 2.98 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.6812, allocations: 96.08 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.6813, allocations: 15.84 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.6814, allocations: 41.69 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002174/0.6817, allocations: 322.8 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.682, allocations: 51.97 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004967/0.6825, allocations: 73.41 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004622/0.683, allocations: 128.1 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.683, allocations: 4 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000837/0.6838, allocations: 196 kB / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.674e-05/0.6839, allocations: 37.69 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.6839, allocations: 0 / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.684, allocations: 4 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.6841, allocations: 11.98 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.6842, allocations: 0 / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004233/0.6846, allocations: 36.03 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.6846, allocations: 4.094 kB / 1.171 GB, free: 1.922 MB / 0.92 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.0001976/0.6849, allocations: 133.6 kB / 1.171 GB, free: 1.781 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.6849, allocations: 11.95 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.809e-05/0.685, allocations: 8.375 kB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.685, allocations: 3.984 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.685, allocations: 0 / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.685, allocations: 0 / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.6861, allocations: 406.4 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.6862, allocations: 4 kB / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.588e-05/0.6862, allocations: 0 / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.6863, allocations: 7.938 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.6863, allocations: 3.984 kB / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.6863, allocations: 0 / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6863, allocations: 0 / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006793/0.687, allocations: 247.3 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.97e-05/0.6871, allocations: 85.06 kB / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.6871, allocations: 4 kB / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.6873, allocations: 3.984 kB / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/0.6874, allocations: 4 kB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.6874, allocations: 11.92 kB / 1.172 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.305e-05/0.6875, allocations: 87.47 kB / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6875, allocations: 0 / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004485/0.688, allocations: 36.2 kB / 1.172 GB, free: 0.7812 MB / 0.92 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.001101/0.6891, allocations: 0.7826 MB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006121/0.6897, allocations: 179.3 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.6898, allocations: 0 / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.69, allocations: 56.09 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.6905, allocations: 19.92 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003433/0.6939, allocations: 1.65 MB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005139/0.6944, allocations: 0.6924 MB / 1.175 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.65e-05/0.6945, allocations: 4.672 kB / 1.175 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.968e-05/0.6946, allocations: 23.42 kB / 1.176 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of SimCode: time 6.01e-07/0.6946, allocations: 0 / 1.176 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04885/0.7435, allocations: 2.735 MB / 1.178 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/14.83, allocations: 15.45 kB / 1.178 GB, free: 10.6 MB / 0.9356 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