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.001238/0.001238, 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.001538/0.001538, allocations: 194.4 kB / 16.25 MB, free: 6.637 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.343/1.343, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.45/2.45, allocations: 390.2 MB / 0.6643 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001388, allocations: 67.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7375/0.7389, allocations: 140.4 MB / 0.9491 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002438/0.7414, allocations: 1.644 MB / 0.9507 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.7425, allocations: 0.8984 MB / 0.9516 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.929e-05/0.7426, allocations: 1.25 kB / 0.9516 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.7428, allocations: 65.5 kB / 0.9516 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004114/0.7432, allocations: 136.3 kB / 0.9518 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.991e-05/0.7433, allocations: 4.969 kB / 0.9518 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003226/0.7436, allocations: 356.4 kB / 0.9521 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.865e-05/0.7437, allocations: 47.23 kB / 0.9522 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.7439, allocations: 150 kB / 0.9523 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.7441, allocations: 147.1 kB / 0.9524 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/0.7441, allocations: 16.38 kB / 0.9525 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002858/0.747, allocations: 0.5692 MB / 0.953 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.799e-05/0.7471, allocations: 50.77 kB / 0.9531 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.7472, allocations: 142.2 kB / 0.9532 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01287/0.7601, allocations: 13.31 MB / 0.9662 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.7602, allocations: 1.156 kB / 0.9662 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7602, allocations: 0 / 0.9662 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.7602, allocations: 0 / 0.9662 GB, free: 11.41 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.001651/0.7618, allocations: 0.6523 MB / 0.9668 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.7619, allocations: 9.594 kB / 0.9668 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.372e-05/0.762, allocations: 38.67 kB / 0.9669 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000465/0.7625, allocations: 368.5 kB / 0.9672 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.7625, allocations: 6.719 kB / 0.9672 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.7625, allocations: 5.062 kB / 0.9672 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.7627, allocations: 106 kB / 0.9673 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.7627, allocations: 0 / 0.9673 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.7627, allocations: 1 kB / 0.9673 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.7627, allocations: 5.25 kB / 0.9673 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.7628, allocations: 68.45 kB / 0.9674 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.7633, allocations: 359.2 kB / 0.9678 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.7634, allocations: 104.1 kB / 0.9679 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.892e-05/0.7635, allocations: 63.92 kB / 0.9679 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.7635, allocations: 1.125 kB / 0.9679 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.7635, allocations: 44.22 kB / 0.968 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.7635, allocations: 1.125 kB / 0.968 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003502/0.7639, allocations: 181 kB / 0.9681 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.764, allocations: 138.7 kB / 0.9683 GB, free: 9.516 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005952/0.7646, allocations: 0.4987 MB / 0.9687 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.7646, allocations: 26.77 kB / 0.9688 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.7647, allocations: 164.8 kB / 0.9689 GB, free: 9.039 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.7648, allocations: 13.91 kB / 0.9689 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-05/0.7649, allocations: 53.72 kB / 0.969 GB, free: 8.988 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.765, allocations: 344.3 kB / 0.9693 GB, free: 8.652 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.7652, allocations: 117.7 kB / 0.9694 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.7654, allocations: 182.8 kB / 0.9696 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/0.7658, allocations: 262.6 kB / 0.9699 GB, free: 8.309 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.7658, allocations: 1.062 kB / 0.9699 GB, free: 8.309 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000471/0.7663, allocations: 328.9 kB / 0.9702 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.7663, allocations: 9.594 kB / 0.9702 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.7663, allocations: 1.094 kB / 0.9702 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.7663, allocations: 1.156 kB / 0.9702 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.7665, allocations: 21.05 kB / 0.9702 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.7665, allocations: 5.078 kB / 0.9702 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.7667, allocations: 29.55 kB / 0.9702 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.7667, allocations: 3.656 kB / 0.9702 GB, free: 8.09 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.0001693/0.7669, allocations: 184.6 kB / 0.9704 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.185e-05/0.7669, allocations: 32.88 kB / 0.9705 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003379/0.7673, allocations: 185 kB / 0.9706 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.7673, allocations: 2.188 kB / 0.9706 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.7673, allocations: 1.094 kB / 0.9706 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.7673, allocations: 6.141 kB / 0.9706 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.7676, allocations: 292.7 kB / 0.9709 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.7676, allocations: 1.125 kB / 0.9709 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.558e-05/0.7677, allocations: 15.47 kB / 0.9709 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.7677, allocations: 4.938 kB / 0.9709 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.7677, allocations: 5.625 kB / 0.9709 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.7677, allocations: 2.188 kB / 0.9709 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.7678, allocations: 9.094 kB / 0.971 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.768, allocations: 184.8 kB / 0.9711 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.7682, allocations: 146.4 kB / 0.9713 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.057e-05/0.7682, allocations: 6.344 kB / 0.9713 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.7684, allocations: 9.703 kB / 0.9713 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.341e-05/0.7684, allocations: 7.328 kB / 0.9713 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.7684, allocations: 3.312 kB / 0.9713 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004394/0.7689, allocations: 385.5 kB / 0.9717 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7689, allocations: 0 / 0.9717 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007341/0.7696, allocations: 96.41 kB / 0.9718 GB, free: 6.957 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.005491/0.7751, allocations: 2.801 MB / 0.9745 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004511/0.7756, allocations: 206.1 kB / 0.9747 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7756, allocations: 0 / 0.9747 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.289e-05/0.7757, allocations: 42.12 kB / 0.9747 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.7761, allocations: 60.97 kB / 0.9748 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.7772, allocations: 0.6639 MB / 0.9754 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.7776, allocations: 0.8173 MB / 0.9762 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000149/0.7778, allocations: 47.97 kB / 0.9763 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.821e-05/0.7778, allocations: 27.67 kB / 0.9763 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of SimCode: time 3.8e-07/0.7779, allocations: 0 / 0.9763 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of Templates: time 0.0127/0.7906, allocations: 7.854 MB / 0.984 GB, free: 13.78 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