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: 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.001459/0.001459, allocations: 111.1 kB / 16.41 MB, free: 6.027 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.001357/0.001357, allocations: 180.2 kB / 17.34 MB, free: 5.633 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.261/2.261, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 67.89 kB / 0.9516 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.81/0.8114, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001672/0.8131, allocations: 0.6656 MB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.8145, allocations: 1.182 MB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.157e-05/0.8145, allocations: 0 / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.432e-05/0.8145, allocations: 8.594 kB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.224e-05/0.8146, allocations: 6.812 kB / 1.09 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000489/0.8151, allocations: 148.9 kB / 1.091 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.8153, allocations: 129.1 kB / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.315e-05/0.8154, allocations: 9.516 kB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.767e-05/0.8155, allocations: 57.97 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.8156, allocations: 56 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.305e-05/0.8157, allocations: 12.38 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.135e-05/0.8158, allocations: 24.69 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.767e-05/0.8158, allocations: 15.83 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.166e-05/0.8159, allocations: 45.08 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.8161, allocations: 116.9 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.8161, allocations: 0 / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.455e-06/0.8161, allocations: 4 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.8161, allocations: 0.7188 kB / 1.091 GB, free: 3.969 MB / 0.8575 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.0005514/0.8167, allocations: 395.2 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.8167, allocations: 8.625 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.989e-05/0.8168, allocations: 10.66 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.92e-05/0.8169, allocations: 176.4 kB / 1.092 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.8169, allocations: 4.734 kB / 1.092 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.817, allocations: 10.91 kB / 1.092 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.8172, allocations: 77.48 kB / 1.092 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.8172, allocations: 192 / 1.092 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.8172, allocations: 8.594 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.8172, allocations: 1.891 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.8174, allocations: 36.69 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004226/0.8178, allocations: 321.6 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.818, allocations: 82.56 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.8182, allocations: 33.55 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.8182, allocations: 0 / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002747/0.8185, allocations: 110.7 kB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.8185, allocations: 0 / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0005373/0.819, allocations: 185.4 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.819, allocations: 53.59 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.376e-05/0.8191, allocations: 114.7 kB / 1.093 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.8192, allocations: 27.73 kB / 1.093 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.8192, allocations: 89.59 kB / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.8192, allocations: 24.73 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-05/0.8193, allocations: 37.89 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.439e-05/0.8194, allocations: 316.4 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.8195, allocations: 52.64 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.8197, allocations: 73.22 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.8199, allocations: 130.2 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.8199, allocations: 4 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004154/0.8204, allocations: 201.2 kB / 1.094 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/0.8204, allocations: 37.23 kB / 1.094 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.8204, allocations: 1.125 kB / 1.094 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.8204, allocations: 1.859 kB / 1.094 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.8206, allocations: 12.94 kB / 1.094 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.8206, allocations: 5.672 kB / 1.094 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/0.8208, allocations: 34.81 kB / 1.094 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.8208, allocations: 11.31 kB / 1.094 GB, free: 1.816 MB / 0.8575 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 7.723e-05/0.8209, allocations: 123.1 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.8209, allocations: 7.859 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.821, allocations: 10.27 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.821, allocations: 1.344 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.821, allocations: 0.5156 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.821, allocations: 6.047 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004526/0.8214, allocations: 402.5 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.8214, allocations: 1.062 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.421e-05/0.8215, allocations: 4.172 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.8215, allocations: 1.312 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.8215, allocations: 6.906 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.8215, allocations: 0.6875 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.8215, allocations: 4.734 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.8219, allocations: 238 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.022e-05/0.8219, allocations: 84.3 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.8219, allocations: 2.469 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.989e-05/0.822, allocations: 7.984 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.8221, allocations: 6.469 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.8221, allocations: 8.969 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.386e-05/0.8221, allocations: 97.53 kB / 1.095 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8222, allocations: 0 / 1.095 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002727/0.8224, allocations: 23.64 kB / 1.095 GB, free: 0.9688 MB / 0.8575 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.0001312/0.8226, allocations: 110.7 kB / 1.095 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000375/0.8229, allocations: 182.4 kB / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.823, allocations: 0.6562 kB / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.8231, allocations: 58.73 kB / 1.095 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.8234, allocations: 13.95 kB / 1.095 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003597/0.8238, allocations: 200.6 kB / 1.095 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001553/0.8239, allocations: 0.6865 MB / 1.096 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.824, allocations: 11.34 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.824, allocations: 0 / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of Templates: time 0.003354/0.8273, allocations: 1.393 MB / 1.097 GB, free: 15.73 MB / 0.8731 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