Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001982/0.001983, allocations: 105.9 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.002198/0.002198, allocations: 193.5 kB / 16.91 MB, free: 6.195 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.373/1.373, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.76/2.76, allocations: 469.8 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 69.23 kB / 0.9087 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3127, allocations: 159.1 MB / 1.064 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002775/0.3155, allocations: 1.583 MB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006958/0.3162, allocations: 439 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.519e-05/0.3163, allocations: 0 / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.616e-05/0.3163, allocations: 3.938 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.316e-05/0.3164, allocations: 7.938 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.3166, allocations: 19.97 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.546e-05/0.3166, allocations: 43.8 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.659e-05/0.3167, allocations: 19.98 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.396e-05/0.3168, allocations: 19.92 kB / 1.066 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.701e-05/0.3169, allocations: 27.91 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.3169, allocations: 7.938 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.284e-05/0.3169, allocations: 4 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.716e-05/0.317, allocations: 7.984 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.938e-05/0.317, allocations: 15.88 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.928e-05/0.3171, allocations: 31.95 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3171, allocations: 0 / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3171, allocations: 4 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.3171, allocations: 0 / 1.066 GB, free: 12.84 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.0005229/0.3176, allocations: 363.6 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.3177, allocations: 8.031 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.3177, allocations: 4.938 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.3178, allocations: 180.1 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.3179, allocations: 8.312 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.3179, allocations: 384 / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.3181, allocations: 73.98 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.3181, allocations: 0 / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.3181, allocations: 0 / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-06/0.3181, allocations: 0 / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001847/0.3183, allocations: 43.97 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.3188, allocations: 304.7 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.3191, allocations: 62.53 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.668e-05/0.3192, allocations: 20.91 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.3193, allocations: 3.938 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.3193, allocations: 34.56 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.3193, allocations: 4 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0003712/0.3197, allocations: 89.48 kB / 1.067 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.3197, allocations: 55.41 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.3198, allocations: 117.8 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.3198, allocations: 25.7 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.191e-05/0.3199, allocations: 96.06 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.3199, allocations: 3.906 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.32, allocations: 21.72 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3201, allocations: 326.8 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.007e-05/0.3202, allocations: 11.98 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.002e-05/0.3203, allocations: 15.98 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.3205, allocations: 36.84 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3205, allocations: 0 / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002134/0.3207, allocations: 81.5 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.3207, allocations: 4 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3207, allocations: 0 / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.3208, allocations: 0 / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.644e-05/0.3209, allocations: 15.98 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.3209, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.277e-05/0.3209, allocations: 4 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.3209, allocations: 0 / 1.068 GB, free: 10.64 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 9.181e-05/0.321, allocations: 124 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.3211, allocations: 3.906 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.3211, allocations: 11.91 kB / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3211, allocations: 0 / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3211, allocations: 0 / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.3211, allocations: 0 / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.3213, allocations: 177.6 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3213, allocations: 4 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.973e-05/0.3214, allocations: 7.938 kB / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.3214, allocations: 4 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.3214, allocations: 11.88 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.3214, allocations: 3.984 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3214, allocations: 0 / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.3217, allocations: 167.5 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.978e-05/0.3218, allocations: 85.39 kB / 1.069 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.3218, allocations: 3.984 kB / 1.069 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.177e-05/0.3219, allocations: 8 kB / 1.069 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.3219, allocations: 0 / 1.069 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.371e-06/0.3219, allocations: 4 kB / 1.069 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.167e-05/0.322, allocations: 99.27 kB / 1.069 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.322, allocations: 0 / 1.069 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002254/0.3222, allocations: 7.938 kB / 1.069 GB, free: 9.836 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.0001016/0.3223, allocations: 107.2 kB / 1.069 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.3226, allocations: 47.91 kB / 1.069 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3226, allocations: 0 / 1.069 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.989e-05/0.3227, allocations: 15.98 kB / 1.069 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.323, allocations: 8 kB / 1.069 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003736/0.3233, allocations: 176.4 kB / 1.069 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.3236, allocations: 0.6884 MB / 1.07 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.3237, allocations: 7.438 kB / 1.07 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3237, allocations: 0 / 1.07 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of Templates: time 0.002018/0.3257, allocations: 0.7067 MB / 1.071 GB, free: 8.023 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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