Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005911/0.005911, allocations: 105.5 kB / 15.74 MB, free: 6.02 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.00136/0.00136, allocations: 193.3 kB / 16.67 MB, free: 5.934 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.204/2.204, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 63.91 kB / 0.9508 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7177/0.7189, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001924/0.7208, allocations: 1.232 MB / 1.089 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.7224, allocations: 1.246 MB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.933e-05/0.7225, allocations: 5.344 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.702e-05/0.7225, allocations: 0 / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006232/0.7231, allocations: 213.2 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.555e-05/0.7232, allocations: 44.17 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.673e-05/0.7233, allocations: 9.719 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.515e-05/0.7233, allocations: 3.016 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.082e-05/0.7233, allocations: 5.688 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1955/0.9189, allocations: 30.9 MB / 1.121 GB, free: 5.277 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.9189, allocations: 5.344 kB / 1.121 GB, free: 5.273 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 9.968e-06/0.9189, allocations: 0 / 1.121 GB, free: 5.273 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.9189, allocations: 6.156 kB / 1.121 GB, free: 5.27 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 3e-05/0.919, allocations: 11.48 kB / 1.121 GB, free: 5.262 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.9191, allocations: 10.23 kB / 1.121 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.9191, allocations: 1.75 kB / 1.121 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.552e-06/0.9191, allocations: 0 / 1.121 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.9191, allocations: 0 / 1.121 GB, free: 5.258 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002784/0.9194, allocations: 322.7 kB / 1.121 GB, free: 4.906 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.9194, allocations: 13.25 kB / 1.121 GB, free: 4.902 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.343e-05/0.9195, allocations: 82.06 kB / 1.121 GB, free: 4.824 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.9197, allocations: 242.3 kB / 1.121 GB, free: 4.551 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.243e-05/0.9197, allocations: 150.9 kB / 1.122 GB, free: 4.402 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.112e-05/0.9198, allocations: 152.7 kB / 1.122 GB, free: 4.254 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.603e-05/0.9199, allocations: 105.7 kB / 1.122 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.302e-05/0.9199, allocations: 83.22 kB / 1.122 GB, free: 4.062 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.769e-05/0.92, allocations: 156.7 kB / 1.122 GB, free: 3.91 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.77e-05/0.92, allocations: 150.6 kB / 1.122 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.961e-05/0.9201, allocations: 150.6 kB / 1.122 GB, free: 3.613 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002589/0.9203, allocations: 447.4 kB / 1.123 GB, free: 3.133 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 6.919e-05/0.9204, allocations: 169.7 kB / 1.123 GB, free: 2.957 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.592e-05/0.9205, allocations: 85.58 kB / 1.123 GB, free: 2.871 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.9205, allocations: 75.28 kB / 1.123 GB, free: 2.797 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.9205, allocations: 111.6 kB / 1.123 GB, free: 2.68 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.9205, allocations: 3.938 kB / 1.123 GB, free: 2.676 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 8.186e-05/0.9206, allocations: 29.05 kB / 1.123 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.829e-05/0.9207, allocations: 212.5 kB / 1.123 GB, free: 2.406 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.972e-05/0.9208, allocations: 95.56 kB / 1.124 GB, free: 2.309 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.9208, allocations: 26.95 kB / 1.124 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 3.887e-05/0.9209, allocations: 82.14 kB / 1.124 GB, free: 2.195 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.482e-06/0.9209, allocations: 0 / 1.124 GB, free: 2.195 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.9209, allocations: 18.91 kB / 1.124 GB, free: 2.176 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.619e-05/0.921, allocations: 312.9 kB / 1.124 GB, free: 1.863 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.352e-06/0.921, allocations: 7.938 kB / 1.124 GB, free: 1.855 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.704e-05/0.9211, allocations: 19.25 kB / 1.124 GB, free: 1.832 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.497e-05/0.9211, allocations: 75.28 kB / 1.124 GB, free: 1.758 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-05/0.9212, allocations: 76.88 kB / 1.124 GB, free: 1.684 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.974e-05/0.9212, allocations: 33.88 kB / 1.124 GB, free: 1.648 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/0.9213, allocations: 83.88 kB / 1.124 GB, free: 1.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.302e-05/0.9213, allocations: 88.94 kB / 1.124 GB, free: 1.484 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.83e-05/0.9214, allocations: 156.7 kB / 1.124 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.493e-05/0.9214, allocations: 83.89 kB / 1.125 GB, free: 1.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.292e-05/0.9215, allocations: 160.2 kB / 1.125 GB, free: 1.094 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.9216, allocations: 80.06 kB / 1.125 GB, free: 1.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.9217, allocations: 80.41 kB / 1.125 GB, free: 0.9414 MB / 0.8731 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 (0): * Single equations (assignments): 0 * 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 0.0001139/0.9218, allocations: 267.9 kB / 1.125 GB, free: 0.6719 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.94e-05/0.9218, allocations: 111.9 kB / 1.125 GB, free: 0.5586 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.728e-05/0.9219, allocations: 106 kB / 1.125 GB, free: 460 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.104e-05/0.922, allocations: 182.2 kB / 1.125 GB, free: 272 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.895e-05/0.922, allocations: 178.4 kB / 1.126 GB, free: 88 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.417e-05/0.9221, allocations: 185.8 kB / 1.126 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.9223, allocations: 403.3 kB / 1.126 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-05/0.9224, allocations: 101 kB / 1.126 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.922e-05/0.9224, allocations: 114.6 kB / 1.126 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.034e-05/0.9225, allocations: 178.3 kB / 1.127 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.39e-05/0.9225, allocations: 186.1 kB / 1.127 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.77e-05/0.9226, allocations: 182.1 kB / 1.127 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-05/0.9227, allocations: 182 kB / 1.127 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.9228, allocations: 307.1 kB / 1.127 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 7.595e-05/0.9229, allocations: 188.2 kB / 1.128 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.468e-05/0.923, allocations: 185.8 kB / 1.128 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.9231, allocations: 106.2 kB / 1.128 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.077e-05/0.9232, allocations: 181.9 kB / 1.128 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.9232, allocations: 102.8 kB / 1.128 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 4.697e-05/0.9232, allocations: 82.73 kB / 1.128 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9233, allocations: 0 / 1.128 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002783/0.9235, allocations: 4.188 kB / 1.128 GB, free: 13.31 MB / 0.8887 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 (0): * Single equations (assignments): 0 * 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.0001212/0.9237, allocations: 177.4 kB / 1.128 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 4.928e-05/0.9237, allocations: 5.219 kB / 1.128 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.9237, allocations: 0 / 1.128 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.9237, allocations: 1.156 kB / 1.128 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.9241, allocations: 459.6 kB / 1.129 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002208/0.9243, allocations: 160.2 kB / 1.129 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.9246, allocations: 0.6718 MB / 1.13 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 2.991e-05/0.9246, allocations: 3.766 kB / 1.13 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.055e-05/0.9246, allocations: 7.438 kB / 1.13 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of SimCode: time 3.51e-07/0.9246, allocations: 0 / 1.13 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of Templates: time 0.003689/0.9283, allocations: 0.494 MB / 1.13 GB, free: 11.73 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches