Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.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.0009989/0.0009989, 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.0009588/0.0009588, allocations: 165 kB / 24.17 MB, free: 328 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.9191/0.9191, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.838/1.838, allocations: 377.9 MB / 0.624 GB, free: 8.328 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.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality") translateModel(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 4 kB / 0.76 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.492e-05, allocations: 3.078 kB / 0.76 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002365/0.00239, allocations: 1.589 MB / 0.7615 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007974/0.003187, allocations: 0.4905 MB / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.737e-05/0.003254, allocations: 0 / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.003289, allocations: 9.328 kB / 0.762 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.427e-05/0.003353, allocations: 11.44 kB / 0.762 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.003646, allocations: 39.81 kB / 0.7621 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.003759, allocations: 42.77 kB / 0.7621 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.519e-05/0.003854, allocations: 24.83 kB / 0.7621 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.004007, allocations: 33.94 kB / 0.7621 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.4e-05/0.004041, allocations: 17.78 kB / 0.7622 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.004055, allocations: 5.594 kB / 0.7622 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.132e-05/0.004096, allocations: 15.92 kB / 0.7622 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.00411, allocations: 7.984 kB / 0.7622 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.749e-05/0.004128, allocations: 15.88 kB / 0.7622 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.694e-05/0.004225, allocations: 32.58 kB / 0.7622 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.004227, allocations: 0 / 0.7622 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.072e-06/0.004228, allocations: 1.312 kB / 0.7622 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.004233, allocations: 3.938 kB / 0.7622 GB, free: 4.375 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003245/0.004557, allocations: 268.7 kB / 0.7625 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.004588, allocations: 9.375 kB / 0.7625 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.825e-05/0.004686, allocations: 16.92 kB / 0.7625 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.004808, allocations: 115 kB / 0.7626 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.004828, allocations: 4.375 kB / 0.7626 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.004836, allocations: 384 / 0.7626 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.004942, allocations: 76.11 kB / 0.7627 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.004949, allocations: 192 / 0.7627 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-06/0.004955, allocations: 384 / 0.7627 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.004961, allocations: 7.938 kB / 0.7627 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.155e-05/0.004982, allocations: 12.73 kB / 0.7627 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002177/0.0052, allocations: 168.8 kB / 0.7629 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.005316, allocations: 43.28 kB / 0.7629 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.005335, allocations: 4.859 kB / 0.7629 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.005348, allocations: 5.156 kB / 0.7629 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.005369, allocations: 34.5 kB / 0.763 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.00537, allocations: 0 / 0.763 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001083/0.005478, allocations: 46.84 kB / 0.763 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.005505, allocations: 51.41 kB / 0.7631 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.406e-05/0.005559, allocations: 118.8 kB / 0.7632 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.005569, allocations: 26.45 kB / 0.7632 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.054e-05/0.005599, allocations: 96.06 kB / 0.7633 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.005615, allocations: 4.703 kB / 0.7633 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/0.00564, allocations: 13.72 kB / 0.7633 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.127e-05/0.005711, allocations: 319.6 kB / 0.7636 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.238e-05/0.005723, allocations: 4 kB / 0.7636 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.928e-06/0.005733, allocations: 6.125 kB / 0.7636 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.423e-05/0.005757, allocations: 16.84 kB / 0.7637 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.005759, allocations: 0 / 0.7637 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.782e-05/0.005807, allocations: 45.56 kB / 0.7637 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.005818, allocations: 8 kB / 0.7637 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.005823, allocations: 0 / 0.7637 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.005834, allocations: 5.625 kB / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.299e-05/0.005877, allocations: 4 kB / 0.7637 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.005881, allocations: 7.984 kB / 0.7637 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.984e-05/0.005901, allocations: 3.953 kB / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.005906, allocations: 3.25 kB / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.298e-05/0.005959, allocations: 109.8 kB / 0.7638 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.427e-05/0.005973, allocations: 4.266 kB / 0.7638 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/0.006003, allocations: 15.98 kB / 0.7638 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.006005, allocations: 0 / 0.7638 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.006007, allocations: 3.984 kB / 0.7639 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.00601, allocations: 0 / 0.7639 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.096e-05/0.006101, allocations: 77.81 kB / 0.7639 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.82e-07/0.006101, allocations: 3.031 kB / 0.7639 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.242e-05/0.006124, allocations: 8 kB / 0.7639 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.006125, allocations: 0 / 0.7639 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.006131, allocations: 4 kB / 0.7639 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.006132, allocations: 3.938 kB / 0.7639 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.006133, allocations: 3.938 kB / 0.7639 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.527e-05/0.006219, allocations: 139.5 kB / 0.7641 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-06/0.006226, allocations: 4 kB / 0.7641 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-06/0.006234, allocations: 1.5 kB / 0.7641 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.326e-05/0.006267, allocations: 7.938 kB / 0.7641 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.00629, allocations: 3.984 kB / 0.7641 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.006293, allocations: 0 / 0.7641 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.575e-05/0.006309, allocations: 14.27 kB / 0.7641 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006309, allocations: 0 / 0.7641 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000117/0.006426, allocations: 11.95 kB / 0.7641 GB, free: 2.266 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 8.841e-05/0.006514, allocations: 85.67 kB / 0.7642 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.355e-05/0.006578, allocations: 16.8 kB / 0.7642 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.00658, allocations: 0.6562 kB / 0.7642 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.677e-05/0.006597, allocations: 16.84 kB / 0.7642 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.00674, allocations: 0.625 kB / 0.7642 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003755/0.007115, allocations: 150 kB / 0.7644 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.308e-05/0.007148, allocations: 55.36 kB / 0.7644 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.61e-05/0.007174, allocations: 6.578 kB / 0.7644 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.536e-05/0.00722, allocations: 59.31 kB / 0.7645 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of SimCode: time 5.61e-07/0.00722, allocations: 0 / 0.7645 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of Templates: time 0.002087/0.009307, allocations: 477.6 kB / 0.765 GB, free: 1.375 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.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: 4.878045943100005]