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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 109 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002136/0.002136, allocations: 191.7 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.698/2.698, allocations: 443.4 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|triggeredTrapezoid1.u|triggeredTrapezoid1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|triggeredTrapezoid1.u|triggeredTrapezoid1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.89 kB / 1.061 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022/1.024, allocations: 160.8 MB / 1.218 GB, free: 3.746 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002266/1.026, allocations: 0.6741 MB / 1.219 GB, free: 3.238 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001982/1.028, allocations: 1.188 MB / 1.22 GB, free: 2.281 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.742e-05/1.028, allocations: 0 / 1.22 GB, free: 2.281 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.851e-05/1.028, allocations: 1.125 kB / 1.22 GB, free: 2.281 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.652e-05/1.028, allocations: 8.938 kB / 1.22 GB, free: 2.273 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006144/1.029, allocations: 155.9 kB / 1.22 GB, free: 2.164 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002623/1.029, allocations: 121.5 kB / 1.221 GB, free: 2.098 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.835e-05/1.029, allocations: 11.73 kB / 1.221 GB, free: 2.09 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/1.029, allocations: 58.14 kB / 1.221 GB, free: 2.055 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/1.029, allocations: 50.38 kB / 1.221 GB, free: 2.02 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.848e-05/1.029, allocations: 12.84 kB / 1.221 GB, free: 2.02 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.515e-05/1.029, allocations: 29.45 kB / 1.221 GB, free: 2.008 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.793e-05/1.029, allocations: 18.47 kB / 1.221 GB, free: 1.992 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.848e-05/1.029, allocations: 39.81 kB / 1.221 GB, free: 1.965 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002445/1.03, allocations: 121.8 kB / 1.221 GB, free: 1.875 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.03, allocations: 4 kB / 1.221 GB, free: 1.871 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.534e-06/1.03, allocations: 0.75 kB / 1.221 GB, free: 1.871 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.853e-06/1.03, allocations: 0 / 1.221 GB, free: 1.871 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.0007921/1.031, allocations: 411 kB / 1.221 GB, free: 1.441 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/1.031, allocations: 10.34 kB / 1.221 GB, free: 1.441 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.959e-05/1.031, allocations: 9.797 kB / 1.221 GB, free: 1.438 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/1.031, allocations: 170.5 kB / 1.221 GB, free: 1.234 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/1.031, allocations: 4.344 kB / 1.221 GB, free: 1.234 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/1.031, allocations: 9.859 kB / 1.221 GB, free: 1.23 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/1.031, allocations: 73.97 kB / 1.222 GB, free: 1.172 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/1.031, allocations: 192 / 1.222 GB, free: 1.172 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/1.031, allocations: 9.422 kB / 1.222 GB, free: 1.164 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/1.031, allocations: 0 / 1.222 GB, free: 1.164 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/1.031, allocations: 44.62 kB / 1.222 GB, free: 1.141 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005882/1.032, allocations: 320.6 kB / 1.222 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/1.032, allocations: 75.67 kB / 1.222 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/1.032, allocations: 30.34 kB / 1.222 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/1.032, allocations: 1 kB / 1.222 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003128/1.033, allocations: 109.2 kB / 1.222 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 5.54e-06/1.033, allocations: 3.984 kB / 1.222 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0005719/1.033, allocations: 184 kB / 1.222 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/1.033, allocations: 52.72 kB / 1.222 GB, free: 476 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/1.033, allocations: 118.2 kB / 1.222 GB, free: 360 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.739e-05/1.033, allocations: 27.92 kB / 1.222 GB, free: 328 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.767e-05/1.033, allocations: 99.27 kB / 1.223 GB, free: 228 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/1.034, allocations: 19.17 kB / 1.223 GB, free: 212 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-05/1.034, allocations: 41.28 kB / 1.223 GB, free: 180 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001619/1.034, allocations: 317.2 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/1.034, allocations: 50.06 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/1.034, allocations: 71.06 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/1.035, allocations: 125.6 kB / 1.223 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/1.035, allocations: 0 / 1.223 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004553/1.035, allocations: 195.5 kB / 1.223 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.719e-05/1.035, allocations: 38.03 kB / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.035, allocations: 0 / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/1.035, allocations: 2.062 kB / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/1.035, allocations: 13.02 kB / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/1.035, allocations: 5 kB / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/1.035, allocations: 29.78 kB / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/1.035, allocations: 13.5 kB / 1.223 GB, free: 15.5 MB / 0.9356 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.000135/1.036, allocations: 132.8 kB / 1.224 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/1.036, allocations: 7.203 kB / 1.224 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.013e-05/1.036, allocations: 9.438 kB / 1.224 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/1.036, allocations: 1.094 kB / 1.224 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.036, allocations: 1.094 kB / 1.224 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/1.036, allocations: 0 / 1.224 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000593/1.036, allocations: 406.2 kB / 1.224 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/1.036, allocations: 1.156 kB / 1.224 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.126e-05/1.036, allocations: 3.25 kB / 1.224 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/1.036, allocations: 0.6875 kB / 1.224 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/1.036, allocations: 9.484 kB / 1.224 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.036, allocations: 0.875 kB / 1.224 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.036, allocations: 0 / 1.224 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004306/1.037, allocations: 246.1 kB / 1.224 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.964e-05/1.037, allocations: 83.41 kB / 1.224 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/1.037, allocations: 9.781 kB / 1.224 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.266e-05/1.037, allocations: 6.172 kB / 1.224 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/1.037, allocations: 11.14 kB / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/1.037, allocations: 7.344 kB / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.666e-05/1.037, allocations: 94.8 kB / 1.224 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.037, allocations: 0 / 1.224 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002618/1.037, allocations: 22.84 kB / 1.224 GB, free: 14.57 MB / 0.9356 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.0001945/1.037, allocations: 115 kB / 1.225 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003987/1.038, allocations: 161.7 kB / 1.225 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.038, allocations: 0 / 1.225 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/1.038, allocations: 52.14 kB / 1.225 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/1.038, allocations: 18.56 kB / 1.225 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004678/1.039, allocations: 175.5 kB / 1.225 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/1.039, allocations: 0.6844 MB / 1.226 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.157e-05/1.039, allocations: 4.984 kB / 1.226 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/1.039, allocations: 15.36 kB / 1.226 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of SimCode: time 2.9e-07/1.039, allocations: 0 / 1.226 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of Templates: time 0.005281/1.044, allocations: 1.703 MB / 1.227 GB, free: 12.59 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile [Timeout 300] (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.437011256814003]