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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001317/0.001317, allocations: 105.1 kB / 15.98 MB, free: 6.352 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.001382/0.001382, allocations: 191.6 kB / 16.91 MB, free: 6.188 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.36/1.36, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.603/2.603, allocations: 469.4 MB / 0.7423 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.001491, allocations: 63.59 kB / 0.9083 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3264, allocations: 159.1 MB / 1.064 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.00292/0.3294, allocations: 1.588 MB / 1.065 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007404/0.3302, allocations: 439 kB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.184e-05/0.3302, allocations: 4 kB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.553e-05/0.3303, allocations: 0 / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.816e-05/0.3304, allocations: 7.922 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.3306, allocations: 19.92 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.431e-05/0.3307, allocations: 47.84 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3308, allocations: 20 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.3309, allocations: 23.91 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.656e-05/0.331, allocations: 19.92 kB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.331, allocations: 7.938 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/0.331, allocations: 4 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.331, allocations: 7.984 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.382e-05/0.3311, allocations: 19.88 kB / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.371e-05/0.3312, allocations: 31.94 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3312, allocations: 0 / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3312, allocations: 8 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3312, allocations: 0 / 1.066 GB, free: 13.2 MB / 0.8419 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.0005191/0.3317, allocations: 359.6 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3318, allocations: 11.97 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.3318, allocations: 8.938 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.332, allocations: 172.2 kB / 1.066 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.332, allocations: 384 / 1.066 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.332, allocations: 8.359 kB / 1.066 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.3322, allocations: 69.97 kB / 1.066 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.3323, allocations: 0 / 1.066 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.3323, allocations: 4 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3323, allocations: 4 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.3325, allocations: 43.91 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004635/0.3329, allocations: 292.7 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.3333, allocations: 70.47 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.3334, allocations: 20.91 kB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.3334, allocations: 11.88 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.3335, allocations: 34.56 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3335, allocations: 4 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0003731/0.3338, allocations: 85.56 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.3339, allocations: 51.41 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.387e-05/0.334, allocations: 121.8 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.334, allocations: 25.7 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.687e-05/0.3341, allocations: 92.08 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.3341, allocations: 7.906 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.3341, allocations: 25.7 kB / 1.067 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.3343, allocations: 314.8 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.976e-05/0.3344, allocations: 15.98 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.009e-05/0.3344, allocations: 23.92 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.3346, allocations: 36.83 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3346, allocations: 0 / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002029/0.3348, allocations: 73.58 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3349, allocations: 4 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3349, allocations: 0 / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.3349, allocations: 0 / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.843e-05/0.335, allocations: 11.98 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.335, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.654e-05/0.335, allocations: 7.984 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.3351, allocations: 0 / 1.068 GB, free: 11.01 MB / 0.8419 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.459e-05/0.3352, allocations: 125.7 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.3352, allocations: 7.906 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.579e-05/0.3352, allocations: 7.906 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3352, allocations: 0 / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3352, allocations: 0 / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3352, allocations: 336 / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.3354, allocations: 177.6 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3354, allocations: 0 / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.653e-05/0.3355, allocations: 11.98 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3355, allocations: 4 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.3355, allocations: 3.938 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3356, allocations: 0 / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.3356, allocations: 3.984 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.3358, allocations: 171.5 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.3359, allocations: 85.02 kB / 1.068 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.3359, allocations: 0 / 1.068 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.453e-05/0.336, allocations: 11.94 kB / 1.068 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.336, allocations: 7.922 kB / 1.068 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.336, allocations: 4 kB / 1.068 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.128e-05/0.3361, allocations: 91.27 kB / 1.068 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3361, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002215/0.3363, allocations: 15.94 kB / 1.069 GB, free: 10.2 MB / 0.8419 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 0.0001065/0.3364, allocations: 99.19 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.3367, allocations: 35.97 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3367, allocations: 0 / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.359e-05/0.3368, allocations: 27.92 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.3371, allocations: 7.984 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00043/0.3375, allocations: 172.5 kB / 1.069 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.3378, allocations: 0.6846 MB / 1.07 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.3378, allocations: 11.44 kB / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of SimCode: time 3.3e-07/0.3378, allocations: 0 / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of Templates: time 0.002035/0.3399, allocations: 0.7215 MB / 1.07 GB, free: 8.375 MB / 0.8419 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