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.001795/0.001795, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.002152/0.002152, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.466/1.466, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.584/2.584, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001924/0.001924, allocations: 75.88 kB / 1.057 GB, free: 1.965 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3332, allocations: 160.7 MB / 1.214 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002207/0.3354, allocations: 0.6543 MB / 1.215 GB, free: 276 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001844/0.3373, allocations: 1.187 MB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.088e-05/0.3373, allocations: 0 / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.754e-05/0.3373, allocations: 3.938 kB / 1.216 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.867e-05/0.3374, allocations: 15.92 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006207/0.3381, allocations: 138.9 kB / 1.216 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.3383, allocations: 127.8 kB / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.549e-05/0.3384, allocations: 4 kB / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.3385, allocations: 63.83 kB / 1.216 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.3386, allocations: 55.8 kB / 1.216 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.3387, allocations: 12 kB / 1.216 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.54e-05/0.3388, allocations: 27.98 kB / 1.216 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.975e-05/0.3388, allocations: 7.984 kB / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9e-05/0.3389, allocations: 47.83 kB / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.3391, allocations: 119.7 kB / 1.216 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3391, allocations: 0 / 1.216 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3391, allocations: 0 / 1.216 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.3391, allocations: 0 / 1.216 GB, free: 14.46 MB / 0.9669 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.0007368/0.3399, allocations: 408.9 kB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3399, allocations: 8.031 kB / 1.217 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.081e-05/0.34, allocations: 12.89 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.3401, allocations: 172.2 kB / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.3402, allocations: 4.375 kB / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.3402, allocations: 12.38 kB / 1.217 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.3404, allocations: 74.14 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.3404, allocations: 192 / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.3405, allocations: 3.938 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3405, allocations: 4 kB / 1.217 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/0.3406, allocations: 39.97 kB / 1.217 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005631/0.3412, allocations: 320.8 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.3414, allocations: 66.48 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.3416, allocations: 36.89 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.3416, allocations: 4 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003179/0.3419, allocations: 111.3 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.3419, allocations: 0 / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0005968/0.3425, allocations: 177.5 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.3426, allocations: 59.39 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.3427, allocations: 118.2 kB / 1.218 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.3427, allocations: 29.7 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.026e-05/0.3428, allocations: 92.09 kB / 1.218 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.3428, allocations: 23.83 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.3429, allocations: 41.7 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3431, allocations: 318.8 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.3432, allocations: 47.97 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.3434, allocations: 70.55 kB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/0.3437, allocations: 128.2 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3437, allocations: 0 / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004669/0.3442, allocations: 199.2 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.602e-05/0.3442, allocations: 37.7 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.3442, allocations: 64 / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.3442, allocations: 8 kB / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.3444, allocations: 11.98 kB / 1.219 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.3444, allocations: 3.938 kB / 1.219 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.3446, allocations: 35.91 kB / 1.219 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.3446, allocations: 8 kB / 1.219 GB, free: 11.55 MB / 0.9669 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.0001168/0.3447, allocations: 125.8 kB / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.3447, allocations: 8 kB / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/0.3448, allocations: 12.34 kB / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3448, allocations: 0 / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3448, allocations: 4 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3448, allocations: 0 / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000584/0.3453, allocations: 410.4 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3454, allocations: 0 / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.791e-05/0.3454, allocations: 7.984 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3454, allocations: 0 / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.3454, allocations: 4 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.3454, allocations: 0 / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3454, allocations: 3.938 kB / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004048/0.3458, allocations: 236 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/0.3459, allocations: 89.09 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.3459, allocations: 7.922 kB / 1.22 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.346, allocations: 11.94 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.346, allocations: 7.984 kB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.3461, allocations: 4 kB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.967e-05/0.3461, allocations: 99.14 kB / 1.22 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3461, allocations: 0 / 1.22 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002766/0.3464, allocations: 28 kB / 1.22 GB, free: 10.41 MB / 0.9669 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.0001805/0.3466, allocations: 107.2 kB / 1.22 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000408/0.347, allocations: 163.3 kB / 1.22 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.347, allocations: 4.125 kB / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.3471, allocations: 39.92 kB / 1.22 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.3474, allocations: 17.86 kB / 1.22 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004987/0.3479, allocations: 204.3 kB / 1.221 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.3482, allocations: 0.6846 MB / 1.221 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.3483, allocations: 11.44 kB / 1.221 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of SimCode: time 5.11e-07/0.3483, allocations: 4.656 kB / 1.221 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of Templates: time 0.003737/0.352, allocations: 1.391 MB / 1.223 GB, free: 7.73 MB / 0.9669 GB " [Timeout remaining time 300] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.309953693067655]