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.007795/0.007795, allocations: 100.9 kB / 15.87 MB, free: 5.867 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.001816/0.001816, allocations: 193.2 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.628/2.628, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.25 kB / 0.899 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2757, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002908/0.2786, allocations: 1.591 MB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007036/0.2794, allocations: 446.7 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.26e-05/0.2794, allocations: 4 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.701e-05/0.2795, allocations: 3.938 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.12e-05/0.2795, allocations: 11.92 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.2797, allocations: 15.98 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.04e-05/0.2798, allocations: 39.91 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.2799, allocations: 12 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.28, allocations: 27.84 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.688e-05/0.2801, allocations: 23.86 kB / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.2801, allocations: 4 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.256e-05/0.2801, allocations: 4 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.2802, allocations: 7.984 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.326e-05/0.2802, allocations: 15.88 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.018e-05/0.2803, allocations: 31.94 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.2803, allocations: 0 / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.21e-07/0.2803, allocations: 0 / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.2803, allocations: 0 / 1.055 GB, free: 6.059 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.0005087/0.2808, allocations: 359.7 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.2809, allocations: 12.03 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.958e-05/0.2809, allocations: 8.844 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.281, allocations: 172.2 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.2811, allocations: 4.375 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.2811, allocations: 4.375 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.2813, allocations: 69.91 kB / 1.056 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.2813, allocations: 0 / 1.056 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.2813, allocations: 0 / 1.056 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.2813, allocations: 7.938 kB / 1.056 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.2815, allocations: 39.97 kB / 1.056 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004407/0.2819, allocations: 296.7 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/0.2823, allocations: 66.48 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.288e-05/0.2824, allocations: 28.89 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.2824, allocations: 7.922 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.2824, allocations: 30.56 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.061e-06/0.2824, allocations: 0 / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003669/0.2828, allocations: 81.66 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.2829, allocations: 63.34 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.283, allocations: 121.8 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.283, allocations: 25.7 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.283, allocations: 95.98 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.2831, allocations: 7.906 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.2831, allocations: 13.7 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.2832, allocations: 322.8 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.552e-05/0.2833, allocations: 19.98 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.353e-05/0.2834, allocations: 19.98 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.2836, allocations: 32.83 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2836, allocations: 0 / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000217/0.2838, allocations: 73.58 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.2839, allocations: 9.188 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2839, allocations: 0 / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.2839, allocations: 4 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.943e-05/0.284, allocations: 11.98 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.284, allocations: 0 / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.54e-05/0.284, allocations: 7.984 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.2841, allocations: 0 / 1.057 GB, free: 3.859 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.678e-05/0.2841, allocations: 117.8 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.2842, allocations: 0 / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.404e-05/0.2842, allocations: 11.91 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.2842, allocations: 4 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.2842, allocations: 3.938 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.2842, allocations: 0 / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.2844, allocations: 181.6 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2844, allocations: 0 / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.751e-05/0.2845, allocations: 7.984 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2845, allocations: 4 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.2845, allocations: 0 / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.2846, allocations: 0 / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2846, allocations: 0 / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.2848, allocations: 175.3 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.2849, allocations: 85.02 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.2849, allocations: 0 / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.447e-05/0.285, allocations: 8 kB / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.285, allocations: 4.359 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.285, allocations: 0 / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.06e-05/0.2851, allocations: 107.2 kB / 1.058 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2851, allocations: 0 / 1.058 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002152/0.2853, allocations: 11.94 kB / 1.058 GB, free: 3.055 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 (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.995e-05/0.2854, allocations: 95.19 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002135/0.2856, allocations: 43.95 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.2857, allocations: 0 / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.565e-05/0.2857, allocations: 23.92 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.286, allocations: 8 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003696/0.2864, allocations: 178.1 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.2867, allocations: 0.6848 MB / 1.059 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.311e-05/0.2867, allocations: 7.438 kB / 1.059 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of SimCode: time 3.21e-07/0.2867, allocations: 4 kB / 1.059 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of Templates: time 0.002041/0.2888, allocations: 0.7018 MB / 1.059 GB, free: 1.246 MB / 0.8106 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,cheEqu.y,cheEqu.u1,cheEqu.u2 Variables in the result:cheEqu.u1,cheEqu.u2,cheEqu.y,time