Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001005/0.001005, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001207/0.001207, allocations: 172.7 kB / 15.95 MB, free: 208 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.412/1.412, allocations: 223.3 MB / 240 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.883/2.883, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.000321, allocations: 5.969 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3234, allocations: 159.6 MB / 1.058 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.00203/0.3255, allocations: 1.227 MB / 1.059 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009651/0.3265, allocations: 415.1 kB / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.528e-05/0.3265, allocations: 3.938 kB / 1.06 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.107e-05/0.3266, allocations: 0 / 1.06 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.881e-05/0.3267, allocations: 7.922 kB / 1.06 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.3269, allocations: 23.97 kB / 1.06 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.719e-05/0.327, allocations: 35.86 kB / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.3271, allocations: 15.98 kB / 1.06 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.3273, allocations: 11.94 kB / 1.06 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.047e-05/0.3273, allocations: 23.84 kB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.3274, allocations: 0 / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.43e-05/0.3274, allocations: 4 kB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.3274, allocations: 11.98 kB / 1.06 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.351e-05/0.3275, allocations: 29.7 kB / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.774e-05/0.3276, allocations: 27.95 kB / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3276, allocations: 0 / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.757e-06/0.3276, allocations: 0 / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.3276, allocations: 3.938 kB / 1.06 GB, free: 3.531 MB / 0.8106 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.0005109/0.3281, allocations: 351.5 kB / 1.06 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3281, allocations: 12.03 kB / 1.06 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.797e-05/0.3282, allocations: 11.89 kB / 1.06 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.3283, allocations: 163 kB / 1.06 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.3284, allocations: 4 kB / 1.06 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.3284, allocations: 7.953 kB / 1.06 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.3286, allocations: 69.66 kB / 1.06 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.3286, allocations: 0 / 1.06 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3286, allocations: 0 / 1.06 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.3286, allocations: 4 kB / 1.06 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.3288, allocations: 55.89 kB / 1.06 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000488/0.3293, allocations: 292.8 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003789/0.3297, allocations: 70.55 kB / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.3298, allocations: 32.84 kB / 1.061 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.3299, allocations: 7.938 kB / 1.061 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.3299, allocations: 30.56 kB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.3299, allocations: 3.938 kB / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003986/0.3303, allocations: 105.7 kB / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.3304, allocations: 51.41 kB / 1.061 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.562e-05/0.3305, allocations: 117.8 kB / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.3305, allocations: 25.7 kB / 1.061 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.257e-05/0.3306, allocations: 96.06 kB / 1.061 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.3306, allocations: 7.906 kB / 1.061 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.3306, allocations: 0 / 1.061 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3307, allocations: 318.8 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.147e-05/0.3308, allocations: 27.92 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.314e-05/0.3309, allocations: 24.02 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.825e-05/0.331, allocations: 23.98 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.331, allocations: 0 / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002048/0.3312, allocations: 81.56 kB / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.3312, allocations: 4 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.3312, allocations: 4 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.3312, allocations: 0 / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.3314, allocations: 11.98 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.3314, allocations: 4 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.507e-05/0.3314, allocations: 8 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.3315, allocations: 4 kB / 1.062 GB, free: 1.324 MB / 0.8106 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 8.832e-05/0.3316, allocations: 113.8 kB / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.3316, allocations: 7.844 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.552e-05/0.3316, allocations: 15.89 kB / 1.062 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3317, allocations: 0 / 1.062 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3317, allocations: 0 / 1.062 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3317, allocations: 4 kB / 1.062 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.3319, allocations: 173.6 kB / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3319, allocations: 0 / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.217e-05/0.3319, allocations: 11.98 kB / 1.062 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.332, allocations: 0 / 1.062 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.332, allocations: 0 / 1.062 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.332, allocations: 0 / 1.062 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.332, allocations: 3.938 kB / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.3322, allocations: 183.5 kB / 1.062 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.761e-05/0.3323, allocations: 81.02 kB / 1.062 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.3323, allocations: 0 / 1.062 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.467e-05/0.3324, allocations: 11.98 kB / 1.062 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.3324, allocations: 0 / 1.062 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.3324, allocations: 7.938 kB / 1.062 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.199e-05/0.3325, allocations: 99.2 kB / 1.062 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3325, allocations: 0 / 1.062 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00023/0.3327, allocations: 8 kB / 1.062 GB, free: 0.5195 MB / 0.8106 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 9.987e-05/0.3328, allocations: 95.25 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002109/0.3331, allocations: 47.95 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3331, allocations: 0 / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.856e-05/0.3332, allocations: 27.98 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.3335, allocations: 11.89 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003665/0.3338, allocations: 160.5 kB / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.3341, allocations: 0.6817 MB / 1.063 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.869e-05/0.3342, allocations: 8.359 kB / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.3342, allocations: 7.438 kB / 1.063 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3342, allocations: 0 / 1.063 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of Templates: time 0.00243/0.3366, allocations: 417.6 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches