Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.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.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009649/0.0009649, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008527/0.008527, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.414/1.414, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.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.461/2.461, allocations: 390.9 MB / 0.6663 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003676, allocations: 12 kB / 0.8159 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7209/0.7213, allocations: 142.4 MB / 0.955 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.001541/0.7229, allocations: 1.305 MB / 0.9563 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.7242, allocations: 0.8839 MB / 0.9572 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.144e-05/0.7243, allocations: 1 kB / 0.9572 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.7245, allocations: 61.36 kB / 0.9572 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004475/0.725, allocations: 139.9 kB / 0.9574 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.147e-05/0.725, allocations: 5.031 kB / 0.9574 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003556/0.7254, allocations: 353.5 kB / 0.9577 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.988e-05/0.7255, allocations: 49.84 kB / 0.9578 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.7257, allocations: 125.8 kB / 0.9579 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.7259, allocations: 135.7 kB / 0.958 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.666e-05/0.726, allocations: 13.81 kB / 0.958 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00332/0.7293, allocations: 0.6585 MB / 0.9587 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.578e-05/0.7294, allocations: 44.02 kB / 0.9587 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.7296, allocations: 159.5 kB / 0.9588 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01312/0.7427, allocations: 13.28 MB / 0.9718 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.7427, allocations: 1.188 kB / 0.9718 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.378e-06/0.7427, allocations: 0 / 0.9718 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.7428, allocations: 3.938 kB / 0.9718 GB, free: 10.09 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001833/0.7446, allocations: 0.6082 MB / 0.9724 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.7447, allocations: 9.375 kB / 0.9724 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.7448, allocations: 31 kB / 0.9725 GB, free: 9.531 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005774/0.7454, allocations: 372 kB / 0.9728 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.7454, allocations: 2.812 kB / 0.9728 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.7454, allocations: 5.031 kB / 0.9728 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.7456, allocations: 106.2 kB / 0.9729 GB, free: 9.109 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.7456, allocations: 3.938 kB / 0.9729 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.7456, allocations: 0.7188 kB / 0.9729 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.7457, allocations: 0.7812 kB / 0.9729 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.7458, allocations: 65.17 kB / 0.973 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004443/0.7462, allocations: 355.8 kB / 0.9733 GB, free: 8.734 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.7464, allocations: 107.3 kB / 0.9734 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.545e-05/0.7465, allocations: 64.08 kB / 0.9735 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.7465, allocations: 8.906 kB / 0.9735 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.7465, allocations: 44.47 kB / 0.9735 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.7465, allocations: 0 / 0.9735 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.00037/0.7469, allocations: 181.7 kB / 0.9737 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.6e-05/0.747, allocations: 134.1 kB / 0.9738 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006867/0.7477, allocations: 0.5121 MB / 0.9743 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.7477, allocations: 26.8 kB / 0.9744 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.7479, allocations: 159.4 kB / 0.9745 GB, free: 7.742 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.7479, allocations: 10.38 kB / 0.9745 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.7479, allocations: 30.95 kB / 0.9746 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.7481, allocations: 343.6 kB / 0.9749 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.7483, allocations: 118.1 kB / 0.975 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.7485, allocations: 181.1 kB / 0.9752 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003557/0.7489, allocations: 266 kB / 0.9754 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.7489, allocations: 0 / 0.9754 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004753/0.7494, allocations: 329.5 kB / 0.9757 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.7494, allocations: 13.56 kB / 0.9758 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.7494, allocations: 1.25 kB / 0.9758 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.7494, allocations: 1.469 kB / 0.9758 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.7496, allocations: 19.83 kB / 0.9758 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.7496, allocations: 1.875 kB / 0.9758 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.7498, allocations: 21.14 kB / 0.9758 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.7498, allocations: 12.52 kB / 0.9758 GB, free: 6.805 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.000168/0.75, allocations: 175.3 kB / 0.976 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/0.7501, allocations: 33.69 kB / 0.976 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/0.7504, allocations: 189.3 kB / 0.9762 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.7504, allocations: 2.188 kB / 0.9762 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.7504, allocations: 5.031 kB / 0.9762 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.7504, allocations: 1.031 kB / 0.9762 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.7507, allocations: 288.8 kB / 0.9765 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.7508, allocations: 1.469 kB / 0.9765 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.943e-05/0.7508, allocations: 19.08 kB / 0.9765 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.7509, allocations: 5.188 kB / 0.9765 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.7509, allocations: 6.969 kB / 0.9765 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.7509, allocations: 1.375 kB / 0.9765 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7509, allocations: 1.344 kB / 0.9765 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.7511, allocations: 189.2 kB / 0.9767 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.7513, allocations: 138.6 kB / 0.9768 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/0.7514, allocations: 14.12 kB / 0.9768 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.7515, allocations: 9.578 kB / 0.9768 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.232e-05/0.7516, allocations: 3.031 kB / 0.9768 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.7516, allocations: 2.781 kB / 0.9768 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004947/0.7521, allocations: 382.8 kB / 0.9772 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.4e-07/0.7521, allocations: 0 / 0.9772 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000777/0.7529, allocations: 104 kB / 0.9773 GB, free: 5.68 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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.005734/0.7586, allocations: 2.803 MB / 0.9801 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004345/0.7591, allocations: 196.5 kB / 0.9802 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.7591, allocations: 0 / 0.9802 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.833e-05/0.7592, allocations: 50.22 kB / 0.9803 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005391/0.7597, allocations: 55.7 kB / 0.9803 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.7608, allocations: 0.6792 MB / 0.981 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.7612, allocations: 0.8192 MB / 0.9818 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001517/0.7613, allocations: 38.59 kB / 0.9818 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.596e-05/0.7614, allocations: 28.11 kB / 0.9819 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.7614, allocations: 0 / 0.9819 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of Templates: time 0.01244/0.7738, allocations: 7.626 MB / 0.9893 GB, free: 11.71 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & ./Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches