Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.005436/0.005437, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001091/0.001091, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.301/2.301, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 61.19 kB / 0.9508 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3207, allocations: 140.4 MB / 1.088 GB, free: 1.566 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002482/0.3233, allocations: 1.523 MB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007094/0.324, allocations: 436.4 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.173e-05/0.324, allocations: 3.938 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.945e-05/0.3241, allocations: 3.938 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.27e-05/0.3242, allocations: 3.938 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.3244, allocations: 35.89 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.361e-05/0.3245, allocations: 39.92 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.3246, allocations: 19.97 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.3247, allocations: 23.92 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.042e-05/0.3248, allocations: 23.84 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.3248, allocations: 4 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.377e-05/0.3248, allocations: 4 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.3248, allocations: 11.92 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/0.3249, allocations: 27.88 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.152e-05/0.325, allocations: 39.81 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.325, allocations: 0 / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.213e-06/0.325, allocations: 3.938 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.325, allocations: 0 / 1.09 GB, free: 15.36 MB / 0.8575 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.0004939/0.3255, allocations: 371.2 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.3256, allocations: 8.031 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.3256, allocations: 4.938 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.3257, allocations: 164.3 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.3258, allocations: 12.36 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.3258, allocations: 4.375 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.326, allocations: 69.92 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.326, allocations: 0 / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.326, allocations: 0 / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.326, allocations: 3.984 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.3262, allocations: 39.97 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.3267, allocations: 300.7 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.327, allocations: 70.41 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.528e-05/0.3271, allocations: 20.91 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.3271, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.3271, allocations: 38.56 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.3271, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0003532/0.3275, allocations: 85.59 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.3275, allocations: 51.41 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.856e-05/0.3276, allocations: 121.8 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.3277, allocations: 25.7 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.3277, allocations: 100.1 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.3277, allocations: 7.906 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.3278, allocations: 17.7 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3279, allocations: 322.8 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.416e-05/0.328, allocations: 11.98 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.188e-05/0.3281, allocations: 15.98 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.3282, allocations: 44.83 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3282, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000193/0.3284, allocations: 81.5 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.3285, allocations: 4 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3285, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.3285, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.402e-05/0.3286, allocations: 8 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.3286, allocations: 0 / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.202e-05/0.3286, allocations: 7.984 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.3287, allocations: 7.938 kB / 1.092 GB, free: 13.15 MB / 0.8575 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.742e-05/0.3287, allocations: 113.8 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.3288, allocations: 0 / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.557e-05/0.3288, allocations: 15.89 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.3288, allocations: 0 / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3288, allocations: 0 / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.3288, allocations: 0 / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.329, allocations: 177.5 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.329, allocations: 4 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.139e-05/0.3291, allocations: 15.92 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3291, allocations: 0 / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.3291, allocations: 4 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3291, allocations: 0 / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3291, allocations: 0 / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.3294, allocations: 175.7 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.06e-05/0.3294, allocations: 88.95 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.3295, allocations: 4 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.373e-05/0.3295, allocations: 7.984 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.3296, allocations: 0 / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.3296, allocations: 0 / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.51e-05/0.3296, allocations: 99.7 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3297, allocations: 0 / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002114/0.3299, allocations: 7.938 kB / 1.093 GB, free: 12.36 MB / 0.8575 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.818e-05/0.33, allocations: 99.78 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000211/0.3302, allocations: 43.91 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3302, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.72e-05/0.3303, allocations: 23.97 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.3306, allocations: 4.328 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.3309, allocations: 142.7 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.3312, allocations: 0.6846 MB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.675e-05/0.3313, allocations: 0 / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/0.3313, allocations: 11.44 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of SimCode: time 3.61e-07/0.3313, allocations: 0 / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of Templates: time 0.002486/0.3338, allocations: 494.5 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches