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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001277/0.001277, allocations: 105.5 kB / 16.41 MB, free: 6.52 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.001321/0.001321, allocations: 187 kB / 17.34 MB, free: 5.738 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.385/2.385, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 60.09 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8925/0.894, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003341/0.8973, allocations: 1.53 MB / 1.169 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009971/0.8984, allocations: 450.9 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.626e-05/0.8985, allocations: 0 / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.727e-05/0.8985, allocations: 3.938 kB / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.125e-05/0.8986, allocations: 3.938 kB / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.8989, allocations: 23.91 kB / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.899, allocations: 43.86 kB / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.8992, allocations: 23.97 kB / 1.169 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.8993, allocations: 31.86 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.709e-05/0.8994, allocations: 15.92 kB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.8994, allocations: 4 kB / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.8994, allocations: 4 kB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.554e-05/0.8995, allocations: 15.91 kB / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.8995, allocations: 19.88 kB / 1.169 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.8996, allocations: 36.88 kB / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.8996, allocations: 0 / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.253e-06/0.8996, allocations: 0 / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.8997, allocations: 0 / 1.169 GB, free: 1.68 MB / 0.8887 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.000581/0.9002, allocations: 370.8 kB / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.9003, allocations: 12.92 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/0.9003, allocations: 8.891 kB / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.9005, allocations: 168.3 kB / 1.17 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/0.9005, allocations: 12.34 kB / 1.17 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.9006, allocations: 4.312 kB / 1.17 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.9008, allocations: 69.98 kB / 1.17 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.9008, allocations: 4 kB / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.9008, allocations: 0 / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.9008, allocations: 0 / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002062/0.901, allocations: 39.97 kB / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005458/0.9016, allocations: 296.7 kB / 1.17 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003547/0.902, allocations: 66.53 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.701e-05/0.9021, allocations: 24.91 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.9021, allocations: 0 / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.9022, allocations: 42.5 kB / 1.17 GB, free: 436 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.9022, allocations: 0 / 1.17 GB, free: 436 kB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0003878/0.9026, allocations: 85.59 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.9026, allocations: 55.41 kB / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.9027, allocations: 125.8 kB / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.9027, allocations: 25.7 kB / 1.171 GB, free: 108 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.102e-05/0.9028, allocations: 92.09 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.9028, allocations: 7.938 kB / 1.171 GB, free: 4 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.897e-05/0.9029, allocations: 17.77 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.903, allocations: 322.8 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.034e-05/0.9031, allocations: 15.94 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.247e-05/0.9032, allocations: 15.98 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.9034, allocations: 44.77 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.9034, allocations: 0 / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002231/0.9036, allocations: 69.61 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.9037, allocations: 12 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.9037, allocations: 336 / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.9037, allocations: 0 / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.097e-05/0.9038, allocations: 12 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.9038, allocations: 0 / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.803e-05/0.9039, allocations: 7.984 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.9039, allocations: 0 / 1.171 GB, free: 15.47 MB / 0.9044 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 7.717e-05/0.9039, allocations: 113.7 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.904, allocations: 15.94 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.562e-05/0.904, allocations: 11.89 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.904, allocations: 4 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.904, allocations: 0 / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.9041, allocations: 0 / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.9043, allocations: 173.6 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.9043, allocations: 0 / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.401e-05/0.9043, allocations: 11.98 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.9043, allocations: 0 / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-06/0.9044, allocations: 0 / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.9044, allocations: 0 / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.9044, allocations: 8 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.9047, allocations: 171.4 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/0.9047, allocations: 77.11 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.9047, allocations: 4 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-05/0.9048, allocations: 3.984 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.9049, allocations: 4 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.9049, allocations: 4 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.95e-05/0.9049, allocations: 99.27 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.31e-07/0.905, allocations: 3.938 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002306/0.9052, allocations: 11.88 kB / 1.172 GB, free: 14.67 MB / 0.9044 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.0001138/0.9053, allocations: 99.19 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002251/0.9055, allocations: 39.97 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.9056, allocations: 4 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.914e-05/0.9056, allocations: 19.97 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.906, allocations: 18.2 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003917/0.9064, allocations: 168.1 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.9066, allocations: 0.6846 MB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.232e-05/0.9067, allocations: 7.438 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.9067, allocations: 4 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of Templates: time 0.002244/0.9089, allocations: 0.714 MB / 1.174 GB, free: 12.86 MB / 0.9044 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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