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.001512/0.001513, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001959/0.001959, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.417/1.417, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.382/2.382, allocations: 390.2 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.89 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6094/0.6106, allocations: 140.4 MB / 0.9496 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002262/0.6129, allocations: 1.579 MB / 0.9511 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.614, allocations: 0.9104 MB / 0.952 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.12e-05/0.6141, allocations: 5.531 kB / 0.952 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.6144, allocations: 68.5 kB / 0.9521 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004109/0.6148, allocations: 156.1 kB / 0.9522 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.019e-05/0.6148, allocations: 5.297 kB / 0.9522 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003293/0.6152, allocations: 357 kB / 0.9526 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.89e-05/0.6153, allocations: 42.5 kB / 0.9526 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.6154, allocations: 146.6 kB / 0.9528 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.6156, allocations: 139.6 kB / 0.9529 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.969e-05/0.6157, allocations: 15.31 kB / 0.9529 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002915/0.6186, allocations: 0.5607 MB / 0.9534 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.754e-05/0.6187, allocations: 49.11 kB / 0.9535 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.6188, allocations: 141.4 kB / 0.9536 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01359/0.6324, allocations: 13.23 MB / 0.9665 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6324, allocations: 0 / 0.9665 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6325, allocations: 0 / 0.9665 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.6325, allocations: 5 kB / 0.9666 GB, free: 11.46 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.001434/0.6339, allocations: 0.6514 MB / 0.9672 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.634, allocations: 9.594 kB / 0.9672 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.028e-05/0.634, allocations: 30.81 kB / 0.9672 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000455/0.6345, allocations: 371.2 kB / 0.9676 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.6345, allocations: 3.625 kB / 0.9676 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.6346, allocations: 4.469 kB / 0.9676 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.6347, allocations: 106.2 kB / 0.9677 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.6347, allocations: 0 / 0.9677 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.6348, allocations: 1.094 kB / 0.9677 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.6348, allocations: 3.984 kB / 0.9677 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.985e-05/0.6349, allocations: 72.88 kB / 0.9678 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.6352, allocations: 346.8 kB / 0.9681 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.6354, allocations: 103.9 kB / 0.9682 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.845e-05/0.6354, allocations: 63.53 kB / 0.9683 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.6355, allocations: 1.312 kB / 0.9683 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.6355, allocations: 43.77 kB / 0.9683 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.6355, allocations: 1.031 kB / 0.9683 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003354/0.6359, allocations: 184.5 kB / 0.9685 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.6359, allocations: 134.7 kB / 0.9686 GB, free: 9.578 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005794/0.6365, allocations: 0.4993 MB / 0.9691 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.6365, allocations: 30.39 kB / 0.9691 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.6367, allocations: 157.3 kB / 0.9693 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.6367, allocations: 13.16 kB / 0.9693 GB, free: 9.094 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.786e-05/0.6368, allocations: 50.22 kB / 0.9693 GB, free: 9.059 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.6369, allocations: 348.9 kB / 0.9697 GB, free: 8.719 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.6371, allocations: 99.78 kB / 0.9698 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.6373, allocations: 153.2 kB / 0.9699 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.6376, allocations: 237.4 kB / 0.9701 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.6376, allocations: 4 kB / 0.9701 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004047/0.638, allocations: 293.2 kB / 0.9704 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.638, allocations: 9.25 kB / 0.9704 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.638, allocations: 1.062 kB / 0.9704 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.6381, allocations: 2.25 kB / 0.9704 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.6382, allocations: 15.98 kB / 0.9704 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.6382, allocations: 1.156 kB / 0.9704 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.6384, allocations: 24.42 kB / 0.9705 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.6384, allocations: 8.172 kB / 0.9705 GB, free: 8.215 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.0001631/0.6386, allocations: 180.8 kB / 0.9706 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.6387, allocations: 41.48 kB / 0.9707 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003112/0.639, allocations: 176.3 kB / 0.9709 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.639, allocations: 2.25 kB / 0.9709 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.639, allocations: 5 kB / 0.9709 GB, free: 7.918 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.639, allocations: 5.281 kB / 0.9709 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.6393, allocations: 293.2 kB / 0.9711 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.6393, allocations: 1.312 kB / 0.9711 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.935e-05/0.6394, allocations: 18.7 kB / 0.9712 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.6394, allocations: 6.125 kB / 0.9712 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.6394, allocations: 9.062 kB / 0.9712 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.6394, allocations: 2.281 kB / 0.9712 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.6395, allocations: 1.062 kB / 0.9712 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.6397, allocations: 189.1 kB / 0.9714 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.6399, allocations: 134.5 kB / 0.9715 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.177e-05/0.6399, allocations: 6.125 kB / 0.9715 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.6401, allocations: 9.172 kB / 0.9715 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.6401, allocations: 7.734 kB / 0.9715 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.6401, allocations: 7.281 kB / 0.9715 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004687/0.6406, allocations: 382.2 kB / 0.9719 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6406, allocations: 0 / 0.9719 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001069/0.6417, allocations: 103.7 kB / 0.972 GB, free: 7.078 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.005024/0.6467, allocations: 2.804 MB / 0.9747 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004168/0.6472, allocations: 180.3 kB / 0.9749 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6472, allocations: 0 / 0.9749 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.195e-05/0.6472, allocations: 49.66 kB / 0.9749 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/0.6477, allocations: 64.25 kB / 0.975 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009607/0.6487, allocations: 0.5892 MB / 0.9756 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.6491, allocations: 0.8223 MB / 0.9764 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001333/0.6492, allocations: 48.67 kB / 0.9764 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.687e-05/0.6493, allocations: 19.34 kB / 0.9764 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of SimCode: time 2.91e-07/0.6493, allocations: 1.438 kB / 0.9764 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of Templates: time 0.01236/0.6617, allocations: 7.593 MB / 0.9839 GB, free: 14.2 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