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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001407/0.001407, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.001648/0.001648, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.193/2.193, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 62.08 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2528, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002836/0.2557, allocations: 1.526 MB / 0.9526 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006489/0.2563, allocations: 439 kB / 0.953 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.608e-05/0.2564, allocations: 0 / 0.953 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.172e-05/0.2564, allocations: 3.938 kB / 0.953 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.671e-05/0.2565, allocations: 11.88 kB / 0.953 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.2567, allocations: 23.91 kB / 0.9531 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.937e-05/0.2568, allocations: 47.86 kB / 0.9531 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.2569, allocations: 23.88 kB / 0.9531 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.257, allocations: 19.92 kB / 0.9531 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.337e-05/0.2571, allocations: 19.92 kB / 0.9532 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.2571, allocations: 4 kB / 0.9532 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.241e-05/0.2571, allocations: 8 kB / 0.9532 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.438e-05/0.2572, allocations: 11.94 kB / 0.9532 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.2572, allocations: 23.84 kB / 0.9532 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.272e-05/0.2573, allocations: 39.83 kB / 0.9532 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2573, allocations: 0 / 0.9532 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2573, allocations: 0 / 0.9532 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2573, allocations: 0 / 0.9532 GB, free: 5.867 MB / 0.7325 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.0005187/0.2578, allocations: 359.4 kB / 0.9536 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.2579, allocations: 15.97 kB / 0.9536 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.2579, allocations: 12.84 kB / 0.9536 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.2581, allocations: 172.2 kB / 0.9538 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.2581, allocations: 384 / 0.9538 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.2581, allocations: 4.375 kB / 0.9538 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.2583, allocations: 69.95 kB / 0.9539 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.413e-06/0.2583, allocations: 7.875 kB / 0.9539 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.2584, allocations: 7.984 kB / 0.9539 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2584, allocations: 0 / 0.9539 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.2586, allocations: 47.95 kB / 0.9539 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004081/0.259, allocations: 288.7 kB / 0.9542 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.2593, allocations: 70.47 kB / 0.9543 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.912e-05/0.2594, allocations: 20.91 kB / 0.9543 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.2594, allocations: 8 kB / 0.9543 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.2595, allocations: 30.56 kB / 0.9543 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.2595, allocations: 0 / 0.9543 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0003531/0.2598, allocations: 77.66 kB / 0.9544 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.2599, allocations: 51.41 kB / 0.9544 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.26, allocations: 129.8 kB / 0.9546 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.26, allocations: 29.7 kB / 0.9546 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.152e-05/0.2601, allocations: 92.08 kB / 0.9547 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.2601, allocations: 7.812 kB / 0.9547 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.2602, allocations: 21.7 kB / 0.9547 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.2603, allocations: 318.8 kB / 0.955 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.342e-05/0.2604, allocations: 15.98 kB / 0.955 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.691e-05/0.2605, allocations: 23.98 kB / 0.955 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.2606, allocations: 36.83 kB / 0.9551 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2606, allocations: 0 / 0.9551 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001935/0.2608, allocations: 69.67 kB / 0.9551 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.2608, allocations: 4 kB / 0.9551 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2609, allocations: 0 / 0.9551 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.2609, allocations: 3.938 kB / 0.9552 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.552e-05/0.261, allocations: 15.98 kB / 0.9552 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.261, allocations: 0 / 0.9552 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.32e-05/0.261, allocations: 11.89 kB / 0.9552 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.261, allocations: 0 / 0.9552 GB, free: 3.66 MB / 0.7325 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 8.045e-05/0.2611, allocations: 117.8 kB / 0.9553 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.2612, allocations: 0 / 0.9553 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.787e-05/0.2612, allocations: 19.78 kB / 0.9553 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.2612, allocations: 0 / 0.9553 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2612, allocations: 0 / 0.9553 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2612, allocations: 4 kB / 0.9553 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.2614, allocations: 177.6 kB / 0.9555 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2614, allocations: 0 / 0.9555 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.041e-05/0.2615, allocations: 7.984 kB / 0.9555 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2615, allocations: 0 / 0.9555 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.2615, allocations: 4 kB / 0.9555 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2615, allocations: 0 / 0.9555 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2615, allocations: 0 / 0.9555 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.2618, allocations: 179.6 kB / 0.9557 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.2618, allocations: 89.02 kB / 0.9558 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.2619, allocations: 0 / 0.9558 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.167e-05/0.262, allocations: 4 kB / 0.9558 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.262, allocations: 3.984 kB / 0.9558 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.262, allocations: 0 / 0.9558 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.319e-05/0.2621, allocations: 95.27 kB / 0.9559 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2621, allocations: 0 / 0.9559 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002196/0.2623, allocations: 15.94 kB / 0.9559 GB, free: 2.859 MB / 0.7325 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.0001075/0.2624, allocations: 99.19 kB / 0.956 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002078/0.2626, allocations: 35.97 kB / 0.956 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2626, allocations: 0 / 0.956 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.516e-05/0.2627, allocations: 23.92 kB / 0.956 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.263, allocations: 9.891 kB / 0.956 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003637/0.2634, allocations: 146.8 kB / 0.9562 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.2637, allocations: 0.6883 MB / 0.9568 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.77e-05/0.2637, allocations: 0 / 0.9568 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.2638, allocations: 11.44 kB / 0.9568 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.2638, allocations: 0 / 0.9568 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of Templates: time 0.002214/0.266, allocations: 485.6 kB / 0.9573 GB, free: 1.324 MB / 0.7325 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches