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.008711/0.008711, allocations: 102.3 kB / 15.73 MB, free: 5.988 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.001453/0.001453, allocations: 196.9 kB / 16.67 MB, free: 5.91 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.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.361/2.361, allocations: 390.2 MB / 0.6648 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 71.91 kB / 0.9509 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049/1.05, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.00236/1.052, allocations: 0.6664 MB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001838/1.054, allocations: 1.173 MB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.649e-05/1.054, allocations: 0 / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.141e-05/1.054, allocations: 2 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.72e-05/1.054, allocations: 17.84 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006199/1.055, allocations: 137.9 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002776/1.055, allocations: 137.3 kB / 1.09 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/1.056, allocations: 5.125 kB / 1.09 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/1.056, allocations: 56.98 kB / 1.09 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/1.056, allocations: 62.06 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.429e-05/1.056, allocations: 15.03 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.316e-05/1.056, allocations: 21.42 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.07e-05/1.056, allocations: 15.34 kB / 1.09 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.769e-05/1.056, allocations: 51.62 kB / 1.09 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002635/1.056, allocations: 118.7 kB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/1.056, allocations: 0 / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.076e-06/1.056, allocations: 0 / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.127e-05/1.056, allocations: 0 / 1.09 GB, free: 3.98 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.000657/1.057, allocations: 399 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/1.057, allocations: 9.219 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.52e-05/1.057, allocations: 18.55 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/1.057, allocations: 172.2 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.994e-05/1.057, allocations: 4.781 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/1.057, allocations: 6.562 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/1.058, allocations: 73.28 kB / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/1.058, allocations: 5 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/1.058, allocations: 5.359 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/1.058, allocations: 0.8438 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/1.058, allocations: 39.48 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005704/1.058, allocations: 322.8 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/1.059, allocations: 74.39 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/1.059, allocations: 38.25 kB / 1.091 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/1.059, allocations: 0 / 1.091 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003071/1.059, allocations: 106.6 kB / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 2.355e-06/1.059, allocations: 0 / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0006063/1.06, allocations: 176.9 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/1.06, allocations: 61.67 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.26e-05/1.06, allocations: 115.4 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/1.06, allocations: 32.27 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/1.06, allocations: 96.34 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/1.06, allocations: 16.58 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.198e-05/1.06, allocations: 38.78 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.3e-05/1.06, allocations: 319.3 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/1.06, allocations: 54.44 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/1.061, allocations: 71.39 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/1.061, allocations: 129.9 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/1.061, allocations: 0 / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004841/1.061, allocations: 193.7 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.136e-05/1.062, allocations: 38.7 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/1.062, allocations: 0.875 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/1.062, allocations: 1.594 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/1.062, allocations: 16.27 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/1.062, allocations: 1.062 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/1.062, allocations: 35.19 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/1.062, allocations: 11.02 kB / 1.093 GB, free: 1.836 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 0.00012/1.062, allocations: 123 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/1.062, allocations: 7.062 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/1.062, allocations: 10.88 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/1.062, allocations: 5.188 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.062, allocations: 0 / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/1.062, allocations: 1.156 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006076/1.063, allocations: 403.5 kB / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/1.063, allocations: 0.7031 kB / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.682e-05/1.063, allocations: 9.391 kB / 1.093 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/1.063, allocations: 0.7188 kB / 1.093 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/1.063, allocations: 2.625 kB / 1.093 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/1.063, allocations: 1.641 kB / 1.093 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/1.063, allocations: 4.562 kB / 1.093 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004353/1.063, allocations: 246.3 kB / 1.094 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.665e-05/1.063, allocations: 79.92 kB / 1.094 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/1.063, allocations: 6.422 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/1.064, allocations: 4.953 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/1.064, allocations: 9.375 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/1.064, allocations: 9.828 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.855e-05/1.064, allocations: 96.62 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.064, allocations: 4.688 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002845/1.064, allocations: 26.92 kB / 1.094 GB, free: 0.9727 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.0002571/1.064, allocations: 103.8 kB / 1.094 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005267/1.065, allocations: 181.8 kB / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/1.065, allocations: 0 / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001759/1.065, allocations: 54.84 kB / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/1.065, allocations: 14.11 kB / 1.094 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005045/1.066, allocations: 178.1 kB / 1.094 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/1.066, allocations: 0.6897 MB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.005e-05/1.066, allocations: 5.891 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/1.066, allocations: 11.81 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of SimCode: time 2.01e-07/1.066, allocations: 4 kB / 1.095 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of Templates: time 0.007029/1.073, allocations: 1.671 MB / 1.097 GB, free: 15.74 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/jenkins/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