Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_9_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.001043/0.001043, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001137/0.001137, allocations: 191.9 kB / 16.25 MB, free: 6.621 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.533/1.533, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.489/2.489, allocations: 390.2 MB / 0.6644 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 59.91 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8538/0.8554, allocations: 140.4 MB / 0.9493 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001977/0.8575, allocations: 0.7107 MB / 0.95 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.8589, allocations: 1.161 MB / 0.9511 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.274e-05/0.8589, allocations: 1.344 kB / 0.9511 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.594e-05/0.859, allocations: 7.922 kB / 0.9511 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.307e-05/0.859, allocations: 13.08 kB / 0.9511 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000519/0.8596, allocations: 128.2 kB / 0.9512 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.8597, allocations: 134 kB / 0.9514 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.883e-05/0.8599, allocations: 12.73 kB / 0.9514 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.86, allocations: 49.89 kB / 0.9514 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.444e-05/0.8601, allocations: 50.5 kB / 0.9515 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.8601, allocations: 10.91 kB / 0.9515 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.732e-05/0.8602, allocations: 33.34 kB / 0.9515 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.495e-05/0.8602, allocations: 10.39 kB / 0.9515 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.629e-05/0.8603, allocations: 45.03 kB / 0.9516 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.8605, allocations: 115.2 kB / 0.9517 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.8605, allocations: 0 / 0.9517 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8605, allocations: 7.938 kB / 0.9517 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.8605, allocations: 3.938 kB / 0.9517 GB, free: 7.195 MB / 0.7169 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.0005801/0.8611, allocations: 407.1 kB / 0.9521 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.8611, allocations: 9.312 kB / 0.9521 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.745e-05/0.8612, allocations: 32.16 kB / 0.9521 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.8612, allocations: 9.094 kB / 0.9521 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.8613, allocations: 176.4 kB / 0.9523 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.8614, allocations: 7.156 kB / 0.9523 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.8614, allocations: 11.36 kB / 0.9523 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.8616, allocations: 81.23 kB / 0.9524 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.8616, allocations: 3.938 kB / 0.9524 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.8617, allocations: 0 / 0.9524 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.8617, allocations: 1.125 kB / 0.9524 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.8618, allocations: 40.34 kB / 0.9524 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/0.8623, allocations: 321.1 kB / 0.9527 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.8625, allocations: 73.27 kB / 0.9528 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.8626, allocations: 36.61 kB / 0.9528 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.8626, allocations: 1.25 kB / 0.9528 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002913/0.8629, allocations: 108.6 kB / 0.9529 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.863e-06/0.8629, allocations: 1.219 kB / 0.9529 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005428/0.8635, allocations: 183.2 kB / 0.9531 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.8635, allocations: 56.61 kB / 0.9532 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.019e-05/0.8636, allocations: 118.8 kB / 0.9533 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.8636, allocations: 28.77 kB / 0.9533 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.935e-05/0.8637, allocations: 86.92 kB / 0.9534 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.8637, allocations: 22.78 kB / 0.9534 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.794e-05/0.8638, allocations: 36.48 kB / 0.9534 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.963e-05/0.8639, allocations: 329.1 kB / 0.9538 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.864, allocations: 46.22 kB / 0.9538 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.8642, allocations: 70.83 kB / 0.9539 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.8644, allocations: 122.1 kB / 0.954 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.8644, allocations: 0 / 0.954 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003942/0.8648, allocations: 198 kB / 0.9542 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.004e-05/0.8649, allocations: 33.45 kB / 0.9542 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.8649, allocations: 3.938 kB / 0.9542 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.8649, allocations: 1.344 kB / 0.9542 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.865, allocations: 18.11 kB / 0.9542 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.865, allocations: 1.688 kB / 0.9542 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.8652, allocations: 41.33 kB / 0.9543 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.8653, allocations: 5.156 kB / 0.9543 GB, free: 4.781 MB / 0.7169 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 8.818e-05/0.8654, allocations: 122 kB / 0.9544 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.8654, allocations: 10.58 kB / 0.9544 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.8654, allocations: 6 kB / 0.9544 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.8654, allocations: 0 / 0.9544 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/0.8654, allocations: 1.438 kB / 0.9544 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.8654, allocations: 0 / 0.9544 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004454/0.8659, allocations: 414.4 kB / 0.9548 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8659, allocations: 0 / 0.9548 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.224e-05/0.8659, allocations: 7.641 kB / 0.9548 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.866, allocations: 1.469 kB / 0.9548 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.866, allocations: 1.406 kB / 0.9548 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.866, allocations: 0 / 0.9548 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.866, allocations: 7.938 kB / 0.9548 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.8663, allocations: 246.4 kB / 0.9551 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.691e-05/0.8664, allocations: 87.59 kB / 0.9551 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.8664, allocations: 1.406 kB / 0.9551 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.414e-05/0.8665, allocations: 2.219 kB / 0.9551 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.8665, allocations: 11.61 kB / 0.9552 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.8666, allocations: 8.375 kB / 0.9552 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.045e-05/0.8666, allocations: 90.58 kB / 0.9553 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8666, allocations: 0 / 0.9553 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002652/0.8669, allocations: 22.44 kB / 0.9553 GB, free: 3.863 MB / 0.7169 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.0005651/0.8675, allocations: 0.7858 MB / 0.956 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003873/0.8679, allocations: 189.7 kB / 0.9562 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8679, allocations: 1.469 kB / 0.9562 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.868, allocations: 59.98 kB / 0.9563 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.8683, allocations: 13.27 kB / 0.9563 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.8701, allocations: 1.668 MB / 0.9579 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.8703, allocations: 0.6917 MB / 0.9586 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.2e-05/0.8703, allocations: 4.234 kB / 0.9586 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.987e-05/0.8704, allocations: 23.08 kB / 0.9586 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of SimCode: time 1.102e-06/0.8704, allocations: 0 / 0.9586 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0162/0.8866, allocations: 2.609 MB / 0.9612 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002404/0.8869, allocations: 220.4 kB / 0.9614 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/2.751, allocations: 0 / 0.9614 GB, free: 15.2 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches