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.005522/0.005522, allocations: 100.9 kB / 15.73 MB, free: 6.059 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.001249/0.001249, allocations: 194.7 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.245/1.245, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.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.14/2.14, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 67.89 kB / 0.9508 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9221/0.9238, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002892/0.9268, allocations: 1.522 MB / 1.089 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007951/0.9276, allocations: 437.2 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.936e-05/0.9276, allocations: 1.5 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.138e-05/0.9277, allocations: 4.641 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.266e-05/0.9278, allocations: 14.08 kB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.928, allocations: 29.83 kB / 1.09 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.9282, allocations: 39.03 kB / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.9283, allocations: 18.75 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.9285, allocations: 23.02 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.304e-05/0.9285, allocations: 27.39 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.9286, allocations: 3.562 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.735e-05/0.9286, allocations: 3.406 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.594e-05/0.9286, allocations: 11.3 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.844e-05/0.9287, allocations: 19.86 kB / 1.09 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.9288, allocations: 56.19 kB / 1.09 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.9288, allocations: 0.9062 kB / 1.09 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.775e-06/0.9288, allocations: 0 / 1.09 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.9289, allocations: 0 / 1.09 GB, free: 4.016 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.0006372/0.9295, allocations: 360.3 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.9296, allocations: 9.281 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/0.9296, allocations: 4.531 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.9297, allocations: 172.7 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/0.9298, allocations: 7.141 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.9298, allocations: 2.719 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.93, allocations: 64.34 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.93, allocations: 4.453 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.9301, allocations: 1.125 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.9301, allocations: 1.219 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.9303, allocations: 42.89 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000496/0.9308, allocations: 299.9 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.9311, allocations: 64.8 kB / 1.091 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.909e-05/0.9312, allocations: 23.48 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.9313, allocations: 4.562 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.9313, allocations: 36.11 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.9313, allocations: 0 / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004123/0.9317, allocations: 84.89 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.9318, allocations: 56.47 kB / 1.091 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.9319, allocations: 123.7 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.9319, allocations: 29.7 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.871e-05/0.9319, allocations: 92.5 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.932, allocations: 9.578 kB / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.932, allocations: 18.77 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.569e-05/0.9321, allocations: 318 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.735e-05/0.9322, allocations: 17.27 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.63e-05/0.9323, allocations: 21.47 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.9324, allocations: 40.19 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.9324, allocations: 0 / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001988/0.9327, allocations: 73.09 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.9327, allocations: 5.094 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.9327, allocations: 0 / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.9327, allocations: 1.297 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.849e-05/0.9328, allocations: 14 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.9328, allocations: 7.938 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.613e-05/0.9329, allocations: 9.625 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.9329, allocations: 1.703 kB / 1.092 GB, free: 2.219 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 6.555e-05/0.9329, allocations: 116.3 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.933, allocations: 2.891 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.933, allocations: 10.78 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.933, allocations: 0.6094 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.933, allocations: 0.5312 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.933, allocations: 0.75 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.9332, allocations: 177.7 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.9332, allocations: 0 / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.097e-05/0.9333, allocations: 10.14 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.9333, allocations: 0 / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.9333, allocations: 1.438 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.9333, allocations: 0.6875 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.9333, allocations: 0 / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.9336, allocations: 176.9 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.039e-05/0.9336, allocations: 87.33 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.9336, allocations: 1.922 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.13e-05/0.9337, allocations: 8.156 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.9338, allocations: 3.094 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.9338, allocations: 0.8438 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.558e-05/0.9338, allocations: 92.98 kB / 1.093 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9338, allocations: 0 / 1.093 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002094/0.934, allocations: 13.78 kB / 1.093 GB, free: 1.539 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 9.339e-05/0.9341, allocations: 101.7 kB / 1.093 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002276/0.9344, allocations: 40.44 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.9344, allocations: 0 / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.792e-05/0.9345, allocations: 25.28 kB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.9348, allocations: 5.906 kB / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003614/0.9351, allocations: 146.2 kB / 1.093 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.9353, allocations: 0.6826 MB / 1.094 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.275e-05/0.9353, allocations: 2.797 kB / 1.094 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.9353, allocations: 14.19 kB / 1.094 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.9354, allocations: 0 / 1.094 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of Templates: time 0.002779/0.9381, allocations: 486.3 kB / 1.094 GB, free: 0.5195 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