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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triggeredTrapezoid1.u|triggeredTrapezoid1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triggeredTrapezoid1.u|triggeredTrapezoid1.y",fileNamePrefix="Buildings_9_Buildings.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.0009863/0.0009862, allocations: 98.88 kB / 16.02 MB, free: 72 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.001091/0.001091, allocations: 181.7 kB / 16.92 MB, free: 6.918 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.377/1.377, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.537/2.537, allocations: 390.9 MB / 0.667 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003824/0.0003825, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7066/0.707, allocations: 142.4 MB / 0.9557 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.0008729/0.7079, allocations: 390.4 kB / 0.9561 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.7094, allocations: 1.167 MB / 0.9572 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.229e-05/0.7094, allocations: 0 / 0.9572 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.86e-05/0.7094, allocations: 3.938 kB / 0.9572 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.224e-05/0.7095, allocations: 9.984 kB / 0.9572 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004902/0.71, allocations: 135 kB / 0.9574 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.7102, allocations: 119.7 kB / 0.9575 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.344e-05/0.7103, allocations: 12.48 kB / 0.9575 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.572e-05/0.7104, allocations: 37.44 kB / 0.9575 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.691e-05/0.7105, allocations: 49.48 kB / 0.9576 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.7105, allocations: 5.438 kB / 0.9576 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.864e-05/0.7106, allocations: 21.36 kB / 0.9576 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.495e-05/0.7106, allocations: 14.05 kB / 0.9576 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.782e-05/0.7107, allocations: 65.97 kB / 0.9577 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.7108, allocations: 87.34 kB / 0.9578 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.7108, allocations: 0 / 0.9578 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.437e-06/0.7108, allocations: 1.219 kB / 0.9578 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.7109, allocations: 0 / 0.9578 GB, free: 6.09 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.000516/0.7114, allocations: 386.6 kB / 0.9581 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.7114, allocations: 8.781 kB / 0.9581 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.104e-05/0.7115, allocations: 9.656 kB / 0.9582 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.713e-05/0.7116, allocations: 172.1 kB / 0.9583 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.7116, allocations: 12.34 kB / 0.9583 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.7116, allocations: 9.297 kB / 0.9583 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.7119, allocations: 71.91 kB / 0.9584 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.7119, allocations: 192 / 0.9584 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.7119, allocations: 9.016 kB / 0.9584 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.7119, allocations: 0 / 0.9584 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.7121, allocations: 39.97 kB / 0.9585 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.7125, allocations: 325.8 kB / 0.9588 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.7127, allocations: 79.02 kB / 0.9588 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.7128, allocations: 34.69 kB / 0.9589 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.7129, allocations: 1.406 kB / 0.9589 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002532/0.7131, allocations: 113.8 kB / 0.959 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.7131, allocations: 2.125 kB / 0.959 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005114/0.7137, allocations: 183.8 kB / 0.9592 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.7137, allocations: 57.59 kB / 0.9592 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.971e-05/0.7138, allocations: 118.3 kB / 0.9593 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.7138, allocations: 31.53 kB / 0.9594 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.691e-05/0.7138, allocations: 91.73 kB / 0.9594 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.7139, allocations: 14.12 kB / 0.9595 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.7139, allocations: 24.58 kB / 0.9595 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.571e-05/0.714, allocations: 316.2 kB / 0.9598 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.7141, allocations: 47.38 kB / 0.9598 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.7143, allocations: 80.41 kB / 0.9599 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.7146, allocations: 128.1 kB / 0.96 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.7146, allocations: 1.375 kB / 0.96 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004544/0.7151, allocations: 204.8 kB / 0.9602 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.952e-05/0.7151, allocations: 34.89 kB / 0.9603 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.7151, allocations: 1.406 kB / 0.9603 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.7152, allocations: 1.5 kB / 0.9603 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.7153, allocations: 20.73 kB / 0.9603 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.7153, allocations: 1.344 kB / 0.9603 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.7156, allocations: 49.19 kB / 0.9603 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.7156, allocations: 9.703 kB / 0.9603 GB, free: 3.738 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 0.0001425/0.7158, allocations: 120.1 kB / 0.9605 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.7158, allocations: 7.844 kB / 0.9605 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.7158, allocations: 17.64 kB / 0.9605 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.7158, allocations: 1.375 kB / 0.9605 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.7159, allocations: 0 / 0.9605 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.7159, allocations: 0 / 0.9605 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005437/0.7164, allocations: 406.6 kB / 0.9609 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.7164, allocations: 0 / 0.9609 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.637e-05/0.7165, allocations: 12.56 kB / 0.9609 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.748e-06/0.7165, allocations: 9.047 kB / 0.9609 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.7165, allocations: 5.609 kB / 0.9609 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.7165, allocations: 1.312 kB / 0.9609 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.7165, allocations: 0 / 0.9609 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.7169, allocations: 249 kB / 0.9611 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.7169, allocations: 83.92 kB / 0.9612 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.717, allocations: 9.703 kB / 0.9612 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.495e-05/0.7171, allocations: 2.875 kB / 0.9612 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.7171, allocations: 10.8 kB / 0.9612 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/0.7172, allocations: 4.031 kB / 0.9612 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.328e-05/0.7172, allocations: 94.89 kB / 0.9613 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7172, allocations: 0 / 0.9613 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002963/0.7175, allocations: 22.75 kB / 0.9614 GB, free: 2.812 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.0002169/0.7178, allocations: 109.9 kB / 0.9615 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004224/0.7182, allocations: 185.8 kB / 0.9616 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7182, allocations: 3.938 kB / 0.9616 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.7184, allocations: 54.17 kB / 0.9617 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.7187, allocations: 14.86 kB / 0.9617 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004698/0.7192, allocations: 211.3 kB / 0.9619 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.7194, allocations: 0.6894 MB / 0.9626 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.177e-05/0.7194, allocations: 11.56 kB / 0.9626 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.7194, allocations: 0 / 0.9626 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of Templates: time 0.003611/0.723, allocations: 1.374 MB / 0.9639 GB, free: 0.957 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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