Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001104/0.001104, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001201/0.001201, allocations: 192.8 kB / 16.25 MB, free: 6.633 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.337/1.337, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.777/2.777, allocations: 472.6 MB / 0.7449 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 67.17 kB / 0.9116 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.333, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002598/0.3356, allocations: 1.587 MB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007265/0.3364, allocations: 431 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.57e-05/0.3364, allocations: 4 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.285e-05/0.3365, allocations: 3.938 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.68e-05/0.3365, allocations: 7.922 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.3367, allocations: 16 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.092e-05/0.3368, allocations: 47.78 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.701e-05/0.3369, allocations: 23.97 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.453e-05/0.337, allocations: 23.92 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.313e-05/0.337, allocations: 27.91 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.3371, allocations: 4 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.107e-05/0.3371, allocations: 0 / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.3371, allocations: 11.94 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.326e-05/0.3371, allocations: 23.84 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.097e-05/0.3372, allocations: 39.89 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.3372, allocations: 0 / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3372, allocations: 0 / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.3372, allocations: 4 kB / 1.07 GB, free: 8.504 MB / 0.8262 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.0004583/0.3377, allocations: 359.6 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.3378, allocations: 8.031 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.3378, allocations: 8.875 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.3379, allocations: 184.1 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.3379, allocations: 4.375 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.3379, allocations: 4.375 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.3382, allocations: 69.95 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.3382, allocations: 4 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.3382, allocations: 0 / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3382, allocations: 4 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.3384, allocations: 39.97 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.3388, allocations: 296.7 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.3391, allocations: 62.55 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.985e-05/0.3392, allocations: 24.91 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.3392, allocations: 0 / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.3393, allocations: 34.56 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.3393, allocations: 0 / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0003431/0.3396, allocations: 97.48 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.3397, allocations: 51.41 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.64e-05/0.3397, allocations: 117.8 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.3398, allocations: 25.7 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.887e-05/0.3398, allocations: 96.06 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.3398, allocations: 7.906 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.3399, allocations: 13.72 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.34, allocations: 326.8 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-05/0.3401, allocations: 15.98 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.017e-05/0.3402, allocations: 19.98 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.3403, allocations: 28.84 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3403, allocations: 4 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002164/0.3406, allocations: 81.5 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.3406, allocations: 4 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3406, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.3406, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.019e-05/0.3407, allocations: 15.98 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.3407, allocations: 3.938 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.578e-05/0.3408, allocations: 4 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.3408, allocations: 0 / 1.072 GB, free: 6.305 MB / 0.8262 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 6.851e-05/0.3409, allocations: 119.3 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.3409, allocations: 15.89 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.107e-05/0.3409, allocations: 7.906 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3409, allocations: 0 / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3409, allocations: 0 / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.341, allocations: 0 / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.3411, allocations: 177.5 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3411, allocations: 3.984 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.135e-05/0.3412, allocations: 12.27 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3412, allocations: 0 / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.3412, allocations: 0 / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3412, allocations: 4 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.3412, allocations: 3.984 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.3415, allocations: 167.5 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.573e-05/0.3415, allocations: 81.02 kB / 1.072 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.3416, allocations: 3.984 kB / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.634e-05/0.3416, allocations: 8 kB / 1.072 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/0.3417, allocations: 4 kB / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.3417, allocations: 4 kB / 1.072 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.631e-05/0.3417, allocations: 91.27 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3418, allocations: 0 / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002213/0.342, allocations: 11.94 kB / 1.073 GB, free: 5.504 MB / 0.8262 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.0001038/0.3421, allocations: 99.17 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002087/0.3423, allocations: 43.91 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3423, allocations: 4 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.785e-05/0.3424, allocations: 19.98 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.3427, allocations: 10.95 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000339/0.343, allocations: 154.6 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.3433, allocations: 0.6846 MB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.573e-05/0.3433, allocations: 7.891 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.3434, allocations: 19.38 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3434, allocations: 0 / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of Templates: time 0.002292/0.3457, allocations: 453 kB / 1.074 GB, free: 3.969 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches