Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000953/0.000953, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009659/0.0009659, allocations: 161 kB / 24.16 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9367/0.9367, allocations: 177.2 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.937/1.937, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/2.045e-05, allocations: 2.312 kB / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001248/0.001268, allocations: 0.6182 MB / 0.7606 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.002607, allocations: 1.161 MB / 0.7617 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.775e-05/0.002644, allocations: 0.9688 kB / 0.7617 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.534e-05/0.00267, allocations: 5.359 kB / 0.7617 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.54e-05/0.002735, allocations: 2.891 kB / 0.7617 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.003099, allocations: 128.5 kB / 0.7618 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.00322, allocations: 86.28 kB / 0.7619 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.404e-05/0.003284, allocations: 6.359 kB / 0.7619 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.505e-05/0.003359, allocations: 44.62 kB / 0.762 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.43e-05/0.003433, allocations: 33.25 kB / 0.762 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.003449, allocations: 4 kB / 0.762 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.584e-05/0.003505, allocations: 21.45 kB / 0.762 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.003522, allocations: 4.984 kB / 0.762 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.379e-05/0.003556, allocations: 29.28 kB / 0.7621 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.003681, allocations: 80.97 kB / 0.7621 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003683, allocations: 1.25 kB / 0.7621 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003684, allocations: 0.875 kB / 0.7621 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.045e-06/0.003687, allocations: 0 / 0.7621 GB, free: 4.465 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002992/0.003986, allocations: 267.9 kB / 0.7624 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.782e-05/0.004014, allocations: 8.031 kB / 0.7624 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.004046, allocations: 8.938 kB / 0.7624 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.062e-05/0.004117, allocations: 110.6 kB / 0.7625 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.004128, allocations: 4.375 kB / 0.7625 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.004143, allocations: 6.047 kB / 0.7625 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.187e-05/0.004205, allocations: 59.95 kB / 0.7626 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.004211, allocations: 1.844 kB / 0.7626 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-06/0.004216, allocations: 384 / 0.7626 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.004221, allocations: 4.375 kB / 0.7626 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.877e-06/0.00423, allocations: 7.875 kB / 0.7626 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/0.004407, allocations: 157.2 kB / 0.7628 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.491e-05/0.004442, allocations: 22.56 kB / 0.7628 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.647e-06/0.004451, allocations: 5.609 kB / 0.7628 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-06/0.004454, allocations: 0.7656 kB / 0.7628 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.665e-05/0.00453, allocations: 85.84 kB / 0.7629 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.004531, allocations: 0.8125 kB / 0.7629 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 9.5e-05/0.004626, allocations: 49.62 kB / 0.7629 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.004657, allocations: 57.59 kB / 0.763 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.56e-05/0.004712, allocations: 114.6 kB / 0.7631 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.004725, allocations: 25.7 kB / 0.7631 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.214e-05/0.004757, allocations: 89 kB / 0.7632 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.695e-06/0.004765, allocations: 7.938 kB / 0.7632 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.004803, allocations: 29.7 kB / 0.7632 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.207e-05/0.004876, allocations: 320.6 kB / 0.7635 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.921e-05/0.004915, allocations: 45.69 kB / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.046e-05/0.004965, allocations: 68.27 kB / 0.7636 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.687e-05/0.005022, allocations: 75.28 kB / 0.7637 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.005024, allocations: 0 / 0.7637 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001109/0.005135, allocations: 145.6 kB / 0.7638 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.005163, allocations: 41.69 kB / 0.7639 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.005168, allocations: 0 / 0.7639 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.005181, allocations: 4.172 kB / 0.7639 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.166e-05/0.005192, allocations: 0 / 0.7639 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.005196, allocations: 4 kB / 0.7639 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.768e-05/0.005293, allocations: 20.14 kB / 0.7639 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.005307, allocations: 7.984 kB / 0.7639 GB, free: 2.438 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 5.876e-05/0.005366, allocations: 117.8 kB / 0.764 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-06/0.005374, allocations: 7.984 kB / 0.764 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.996e-05/0.005394, allocations: 8 kB / 0.764 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.005397, allocations: 8.484 kB / 0.7641 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.005398, allocations: 0 / 0.7641 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.005402, allocations: 1.281 kB / 0.7641 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.608e-05/0.005458, allocations: 65.91 kB / 0.7641 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.005458, allocations: 0 / 0.7641 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.005e-06/0.005461, allocations: 4.531 kB / 0.7641 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.005463, allocations: 0 / 0.7641 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-06/0.005468, allocations: 5.547 kB / 0.7641 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.005469, allocations: 0 / 0.7641 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.00547, allocations: 3.938 kB / 0.7641 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.258e-05/0.005522, allocations: 73.06 kB / 0.7642 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-06/0.005526, allocations: 1.281 kB / 0.7642 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.153e-06/0.005534, allocations: 0 / 0.7642 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.396e-06/0.005542, allocations: 0 / 0.7642 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.897e-05/0.005561, allocations: 7.984 kB / 0.7642 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-06/0.005564, allocations: 4.594 kB / 0.7642 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.319e-05/0.005578, allocations: 13.69 kB / 0.7642 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.005578, allocations: 0 / 0.7642 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001155/0.005693, allocations: 23.94 kB / 0.7643 GB, free: 2.051 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000101/0.005794, allocations: 84.25 kB / 0.7643 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001239/0.005918, allocations: 129.9 kB / 0.7645 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.005921, allocations: 4 kB / 0.7645 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.464e-05/0.005936, allocations: 12.86 kB / 0.7645 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.706e-05/0.006023, allocations: 7.984 kB / 0.7645 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001833/0.006206, allocations: 127.7 kB / 0.7646 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.835e-05/0.006235, allocations: 63.28 kB / 0.7647 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.569e-05/0.00625, allocations: 0 / 0.7647 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.339e-05/0.006314, allocations: 63.36 kB / 0.7647 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of SimCode: time 5.01e-07/0.006314, allocations: 0 / 0.7647 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of Templates: time 0.002544/0.008859, allocations: 1.293 MB / 0.766 GB, free: 284 kB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.038689136039466]