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.008749/0.008749, allocations: 95.77 kB / 15.73 MB, free: 6.039 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.001925/0.001925, allocations: 197.6 kB / 16.68 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.821/2.821, allocations: 469.8 MB / 0.7425 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 59.91 kB / 1.065 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3319, allocations: 159.1 MB / 1.221 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003004/0.3349, allocations: 1.538 MB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008694/0.3357, allocations: 431 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.706e-05/0.3358, allocations: 0 / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.451e-05/0.3358, allocations: 3.938 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.077e-05/0.3359, allocations: 15.86 kB / 1.223 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.3361, allocations: 23.97 kB / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.722e-05/0.3362, allocations: 47.8 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.3363, allocations: 15.98 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.3364, allocations: 23.91 kB / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.392e-05/0.3365, allocations: 19.92 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.3365, allocations: 4 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.122e-05/0.3365, allocations: 4 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.3365, allocations: 7.938 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.134e-05/0.3366, allocations: 23.86 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.3367, allocations: 47.75 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3367, allocations: 0 / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3367, allocations: 4 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3367, allocations: 0 / 1.223 GB, free: 11.67 MB / 0.9825 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.0005294/0.3372, allocations: 363.3 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3373, allocations: 12.03 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.3373, allocations: 8.828 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.3374, allocations: 168.3 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.3375, allocations: 8.375 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.3375, allocations: 384 / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.3377, allocations: 69.8 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3377, allocations: 0 / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.3377, allocations: 3.984 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3377, allocations: 0 / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.3379, allocations: 47.84 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.3384, allocations: 296.7 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.3387, allocations: 62.55 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.3388, allocations: 24.91 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.3388, allocations: 0 / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.3388, allocations: 38.48 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.3388, allocations: 0 / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003642/0.3392, allocations: 93.61 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.3392, allocations: 51.41 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.538e-05/0.3393, allocations: 117.8 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.3393, allocations: 25.7 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.941e-05/0.3394, allocations: 88.12 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.3394, allocations: 11.95 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.3395, allocations: 13.72 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.3396, allocations: 326.8 kB / 1.224 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.82e-05/0.3397, allocations: 15.98 kB / 1.224 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.624e-05/0.3397, allocations: 19.92 kB / 1.225 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.3399, allocations: 44.77 kB / 1.225 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3399, allocations: 0 / 1.225 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002146/0.3401, allocations: 73.62 kB / 1.225 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3401, allocations: 4 kB / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.3401, allocations: 336 / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3401, allocations: 0 / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.427e-05/0.3402, allocations: 11.98 kB / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3402, allocations: 0 / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.488e-05/0.3403, allocations: 4 kB / 1.225 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.3403, allocations: 7.922 kB / 1.225 GB, free: 9.473 MB / 0.9825 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.639e-05/0.3404, allocations: 121.8 kB / 1.225 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.3404, allocations: 11.94 kB / 1.225 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.3405, allocations: 7.906 kB / 1.225 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3405, allocations: 0 / 1.225 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3405, allocations: 0 / 1.225 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3405, allocations: 0 / 1.225 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.3406, allocations: 181.5 kB / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3406, allocations: 0 / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.72e-05/0.3407, allocations: 15.98 kB / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.3407, allocations: 0 / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.3407, allocations: 4 kB / 1.225 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3407, allocations: 0 / 1.225 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3407, allocations: 0 / 1.225 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.341, allocations: 171.4 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.341, allocations: 77.11 kB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.341, allocations: 3.938 kB / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.548e-05/0.3411, allocations: 4 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.3412, allocations: 11.92 kB / 1.225 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.3412, allocations: 4 kB / 1.225 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.451e-05/0.3412, allocations: 103.6 kB / 1.225 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3412, allocations: 0 / 1.225 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002206/0.3414, allocations: 8 kB / 1.225 GB, free: 8.66 MB / 0.9825 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.0001012/0.3415, allocations: 99.23 kB / 1.225 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002214/0.3418, allocations: 43.91 kB / 1.225 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3418, allocations: 0 / 1.225 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.847e-05/0.3419, allocations: 19.98 kB / 1.225 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.3421, allocations: 9.812 kB / 1.225 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003949/0.3425, allocations: 157.7 kB / 1.226 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.3428, allocations: 0.6846 MB / 1.226 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.958e-05/0.3428, allocations: 4 kB / 1.226 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.834e-05/0.3428, allocations: 11.44 kB / 1.226 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.3428, allocations: 0 / 1.226 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of Templates: time 0.002601/0.3454, allocations: 479 kB / 1.227 GB, free: 7.113 MB / 0.9825 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches