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: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007139/0.007139, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001615/0.001615, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 4.195 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.273/2.273, allocations: 390.2 MB / 0.6648 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 66.17 kB / 0.9504 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2347, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002336/0.2371, allocations: 1.58 MB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.2383, allocations: 0.9243 MB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.222e-05/0.2384, allocations: 0 / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002257/0.2387, allocations: 59.66 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004146/0.2391, allocations: 155.2 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 2.935e-05/0.2391, allocations: 4 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003514/0.2395, allocations: 366.3 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.958e-05/0.2396, allocations: 48.72 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.2398, allocations: 147.4 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.2399, allocations: 143.3 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.24, allocations: 12 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003088/0.2431, allocations: 0.5668 MB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.917e-05/0.2432, allocations: 47.77 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.2433, allocations: 143.2 kB / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01355/0.2569, allocations: 13.22 MB / 1.104 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2569, allocations: 0 / 1.104 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2569, allocations: 0 / 1.104 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.2569, allocations: 0 / 1.104 GB, free: 0.5391 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00128/0.2582, allocations: 0.6498 MB / 1.105 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.2583, allocations: 8.031 kB / 1.105 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.496e-05/0.2583, allocations: 38.69 kB / 1.105 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.912e-05/0.2584, allocations: 28.56 kB / 1.105 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/0.2588, allocations: 382.2 kB / 1.106 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.2589, allocations: 12.31 kB / 1.106 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.2589, allocations: 4.375 kB / 1.106 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.259, allocations: 97.2 kB / 1.106 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.259, allocations: 0 / 1.106 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.2591, allocations: 11.98 kB / 1.106 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.2591, allocations: 0 / 1.106 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.544e-05/0.2592, allocations: 67.88 kB / 1.106 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.2595, allocations: 344 kB / 1.106 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.2596, allocations: 110.3 kB / 1.106 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.248e-05/0.2597, allocations: 59.47 kB / 1.106 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.2597, allocations: 4 kB / 1.106 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.2597, allocations: 42.48 kB / 1.106 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.2597, allocations: 0 / 1.106 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4): time 0.0003268/0.2601, allocations: 181.6 kB / 1.106 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.2601, allocations: 140.5 kB / 1.107 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000498/0.2606, allocations: 0.5014 MB / 1.107 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.2607, allocations: 29.7 kB / 1.107 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.2608, allocations: 156.3 kB / 1.107 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.2608, allocations: 15.83 kB / 1.107 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.994e-05/0.2609, allocations: 53.59 kB / 1.107 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.261, allocations: 342.8 kB / 1.108 GB, free: 13 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.2611, allocations: 95.92 kB / 1.108 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.2613, allocations: 158.8 kB / 1.108 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/0.2615, allocations: 239.2 kB / 1.108 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2615, allocations: 0 / 1.108 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003572/0.2619, allocations: 301.2 kB / 1.108 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.2619, allocations: 8 kB / 1.108 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2619, allocations: 3.938 kB / 1.108 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.262, allocations: 4 kB / 1.108 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.2621, allocations: 19.92 kB / 1.108 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2621, allocations: 0 / 1.108 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.2623, allocations: 23.83 kB / 1.108 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.2623, allocations: 7.984 kB / 1.108 GB, free: 12.11 MB / 0.8731 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.0001376/0.2624, allocations: 173.8 kB / 1.109 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/0.2625, allocations: 39.55 kB / 1.109 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/0.2628, allocations: 183.7 kB / 1.109 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.2628, allocations: 0 / 1.109 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2628, allocations: 4 kB / 1.109 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2628, allocations: 0 / 1.109 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.263, allocations: 293.4 kB / 1.109 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.263, allocations: 0 / 1.109 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.187e-05/0.2631, allocations: 23.86 kB / 1.109 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.2632, allocations: 4.125 kB / 1.109 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.2632, allocations: 4 kB / 1.109 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.2632, allocations: 0 / 1.109 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2632, allocations: 4 kB / 1.109 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.2634, allocations: 187.2 kB / 1.109 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.2635, allocations: 144.5 kB / 1.109 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/0.2636, allocations: 0 / 1.109 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.2637, allocations: 15.98 kB / 1.109 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/0.2637, allocations: 7.922 kB / 1.109 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.2638, allocations: 8 kB / 1.109 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003762/0.2641, allocations: 375.1 kB / 1.11 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2641, allocations: 0 / 1.11 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004406/0.2646, allocations: 104 kB / 1.11 GB, free: 10.46 MB / 0.8731 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.004383/0.269, allocations: 3.441 MB / 1.113 GB, free: 6.98 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003119/0.2693, allocations: 175.8 kB / 1.113 GB, free: 6.809 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2693, allocations: 0 / 1.113 GB, free: 6.809 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.536e-05/0.2694, allocations: 47.91 kB / 1.113 GB, free: 6.762 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.2697, allocations: 59.27 kB / 1.114 GB, free: 6.707 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003726/0.2735, allocations: 3.471 MB / 1.117 GB, free: 3.121 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.2738, allocations: 0.8143 MB / 1.118 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001319/0.2739, allocations: 54.28 kB / 1.118 GB, free: 2.23 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.2741, allocations: 75.41 kB / 1.118 GB, free: 2.156 MB / 0.8731 GB Notification: Performance of SimCode: time 3.91e-07/0.2741, allocations: 0 / 1.118 GB, free: 2.156 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02734/0.3014, allocations: 10.7 MB / 1.128 GB, free: 7.621 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.977/8.278, allocations: 30.17 kB / 1.128 GB, free: 7.598 MB / 0.8887 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches