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.001511/0.001511, allocations: 104.1 kB / 15.98 MB, free: 6.355 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.001566/0.001566, allocations: 192.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.366/1.366, 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 10.1.1-maint.10.0.x/package.mo): time 2.511/2.511, allocations: 437 MB / 0.7107 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 76.34 kB / 0.8694 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.306, allocations: 151.6 MB / 1.017 GB, free: 11.04 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002806/0.3089, allocations: 1.59 MB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007035/0.3096, allocations: 438.9 kB / 1.019 GB, free: 8.996 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.637e-05/0.3097, allocations: 0 / 1.019 GB, free: 8.996 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.528e-05/0.3097, allocations: 7.938 kB / 1.019 GB, free: 8.988 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.349e-05/0.3098, allocations: 7.922 kB / 1.019 GB, free: 8.98 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.31, allocations: 12 kB / 1.019 GB, free: 8.969 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.105e-05/0.3101, allocations: 51.83 kB / 1.02 GB, free: 8.918 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.949e-05/0.3102, allocations: 12 kB / 1.02 GB, free: 8.906 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.3103, allocations: 27.86 kB / 1.02 GB, free: 8.879 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.47e-05/0.3103, allocations: 19.92 kB / 1.02 GB, free: 8.859 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.3103, allocations: 4 kB / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.165e-05/0.3104, allocations: 4 kB / 1.02 GB, free: 8.852 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.853e-05/0.3104, allocations: 15.91 kB / 1.02 GB, free: 8.836 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.3104, allocations: 23.88 kB / 1.02 GB, free: 8.812 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 6.906e-05/0.3105, allocations: 27.95 kB / 1.02 GB, free: 8.785 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3105, allocations: 0 / 1.02 GB, free: 8.785 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.193e-06/0.3105, allocations: 0 / 1.02 GB, free: 8.785 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.3105, allocations: 0 / 1.02 GB, free: 8.785 MB / 0.795 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.0005356/0.3111, allocations: 359.7 kB / 1.02 GB, free: 8.387 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.3111, allocations: 8.922 kB / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.3111, allocations: 8.844 kB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.3113, allocations: 172.2 kB / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.3113, allocations: 384 / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.3114, allocations: 8.375 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.3116, allocations: 73.89 kB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3116, allocations: 0 / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.3116, allocations: 7.984 kB / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3117, allocations: 4 kB / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.3118, allocations: 39.97 kB / 1.02 GB, free: 8.027 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005155/0.3124, allocations: 288.7 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/0.3127, allocations: 70.47 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.651e-05/0.3128, allocations: 24.91 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.3129, allocations: 0 / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.3129, allocations: 30.56 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.3129, allocations: 0 / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0003939/0.3133, allocations: 89.66 kB / 1.021 GB, free: 7.457 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.3133, allocations: 59.28 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.3135, allocations: 125.8 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.3135, allocations: 29.64 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.3136, allocations: 95.98 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.3136, allocations: 7.906 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.3136, allocations: 17.7 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3138, allocations: 318.8 kB / 1.021 GB, free: 6.77 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.396e-05/0.3139, allocations: 19.98 kB / 1.021 GB, free: 6.75 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.051e-05/0.314, allocations: 15.98 kB / 1.021 GB, free: 6.734 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.3141, allocations: 40.83 kB / 1.021 GB, free: 6.691 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3141, allocations: 0 / 1.021 GB, free: 6.691 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002121/0.3144, allocations: 73.52 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.3144, allocations: 4 kB / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3144, allocations: 4 kB / 1.022 GB, free: 6.605 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3144, allocations: 4 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.729e-05/0.3145, allocations: 7.984 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.3145, allocations: 4 kB / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.458e-05/0.3146, allocations: 7.984 kB / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.3146, allocations: 4 kB / 1.022 GB, free: 6.578 MB / 0.795 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.418e-05/0.3147, allocations: 114.3 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.3147, allocations: 4 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.053e-05/0.3148, allocations: 7.906 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3148, allocations: 0 / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3148, allocations: 0 / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3148, allocations: 7.984 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.315, allocations: 169.6 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.315, allocations: 0 / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.487e-05/0.3151, allocations: 15.98 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3151, allocations: 0 / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.3151, allocations: 0 / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3151, allocations: 0 / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3151, allocations: 4 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.3154, allocations: 179.6 kB / 1.022 GB, free: 6.012 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.3154, allocations: 84.95 kB / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.3155, allocations: 0 / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.236e-05/0.3156, allocations: 4 kB / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.3156, allocations: 7.984 kB / 1.022 GB, free: 5.898 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.3156, allocations: 0 / 1.022 GB, free: 5.898 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.028e-05/0.3157, allocations: 99.27 kB / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3157, allocations: 0 / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000216/0.3159, allocations: 11.94 kB / 1.022 GB, free: 5.789 MB / 0.795 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.0001242/0.316, allocations: 99.19 kB / 1.022 GB, free: 5.68 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002319/0.3163, allocations: 43.91 kB / 1.022 GB, free: 5.637 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3163, allocations: 0 / 1.022 GB, free: 5.637 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.194e-05/0.3164, allocations: 27.92 kB / 1.022 GB, free: 5.609 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.3167, allocations: 7.984 kB / 1.022 GB, free: 5.602 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003975/0.3171, allocations: 184.5 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.3174, allocations: 0.6807 MB / 1.023 GB, free: 4.684 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/0.3174, allocations: 15.44 kB / 1.023 GB, free: 4.668 MB / 0.795 GB Notification: Performance of SimCode: time 1.91e-07/0.3174, allocations: 0 / 1.023 GB, free: 4.668 MB / 0.795 GB Notification: Performance of Templates: time 0.00213/0.3196, allocations: 0.7086 MB / 1.024 GB, free: 3.965 MB / 0.795 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=400 -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