Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality") translateModel(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001441/0.001441, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.846/2.846, allocations: 437.7 MB / 0.7117 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004381/0.0004384, allocations: 11.94 kB / 0.8722 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.712/0.7125, allocations: 153.8 MB / 1.022 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.001647/0.7142, allocations: 1.232 MB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006436/0.7149, allocations: 399.4 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.75e-05/0.7149, allocations: 0 / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.802e-05/0.7149, allocations: 11.92 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.645e-05/0.715, allocations: 7.938 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.7152, allocations: 27.95 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.395e-05/0.7153, allocations: 31.86 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.655e-05/0.7154, allocations: 15.98 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.944e-05/0.7155, allocations: 15.94 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.225e-05/0.7155, allocations: 27.89 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.7155, allocations: 4 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.488e-06/0.7156, allocations: 0 / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.7156, allocations: 3.938 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.63e-05/0.7156, allocations: 33.7 kB / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.769e-05/0.7157, allocations: 23.95 kB / 1.024 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7157, allocations: 0 / 1.024 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7157, allocations: 0 / 1.024 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.7157, allocations: 0 / 1.024 GB, free: 14.22 MB / 0.7794 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.0004737/0.7162, allocations: 365.1 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.7162, allocations: 8.031 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.7163, allocations: 11.84 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.7164, allocations: 171 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.7164, allocations: 7.938 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.7165, allocations: 4 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.7166, allocations: 73.61 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.7167, allocations: 0 / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.7167, allocations: 0 / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.7167, allocations: 0 / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.7169, allocations: 55.95 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00046/0.7173, allocations: 296.7 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.7176, allocations: 66.55 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.122e-05/0.7178, allocations: 32.91 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.7178, allocations: 0 / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.7178, allocations: 38.55 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.7178, allocations: 0 / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003673/0.7182, allocations: 97.59 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.7182, allocations: 51.41 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.098e-05/0.7183, allocations: 117.8 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.7184, allocations: 25.7 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.096e-05/0.7184, allocations: 100 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.7184, allocations: 3.906 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.7184, allocations: 4 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.7185, allocations: 326.8 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.217e-05/0.7186, allocations: 15.98 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.958e-05/0.7187, allocations: 19.98 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.123e-05/0.7188, allocations: 24 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7188, allocations: 0 / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002022/0.719, allocations: 85.5 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.7191, allocations: 5.562 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.7191, allocations: 0 / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.7191, allocations: 0 / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.871e-05/0.7192, allocations: 19.98 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.7192, allocations: 0 / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.258e-05/0.7192, allocations: 7.938 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.7193, allocations: 3.938 kB / 1.026 GB, free: 12.01 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.254e-05/0.7194, allocations: 121.8 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.7194, allocations: 11.98 kB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.797e-05/0.7194, allocations: 3.906 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.7194, allocations: 8.266 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.7194, allocations: 0 / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.7194, allocations: 0 / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.7196, allocations: 185.5 kB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.7196, allocations: 3.984 kB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.146e-05/0.7197, allocations: 8 kB / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.7197, allocations: 3.938 kB / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.7197, allocations: 0 / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.7197, allocations: 0 / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.7197, allocations: 7.984 kB / 1.026 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.72, allocations: 171.6 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-05/0.72, allocations: 84.97 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.7201, allocations: 3.984 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.211e-05/0.7201, allocations: 12 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.34e-05/0.7202, allocations: 0 / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.7202, allocations: 0 / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.783e-05/0.7202, allocations: 103.6 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7203, allocations: 0 / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002251/0.7205, allocations: 4 kB / 1.027 GB, free: 11.2 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.553e-05/0.7206, allocations: 99.23 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002026/0.7208, allocations: 55.91 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.7208, allocations: 0 / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.432e-05/0.7209, allocations: 23.98 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.7212, allocations: 1.719 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003257/0.7215, allocations: 164.5 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.7217, allocations: 0.6848 MB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.439e-05/0.7218, allocations: 4 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.7218, allocations: 15.38 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.7218, allocations: 0 / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of Templates: time 0.002293/0.7241, allocations: 409.9 kB / 1.028 GB, free: 9.691 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches