Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001469/0.001469, allocations: 108.7 kB / 16.41 MB, free: 6.477 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.001684/0.001685, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.392/1.392, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.748/2.748, allocations: 472.7 MB / 0.746 GB, free: 412 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 67.89 kB / 1.07 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9565/0.958, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002981/0.9611, allocations: 1.568 MB / 1.228 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.9627, allocations: 0.9357 MB / 1.229 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.9628, allocations: 0 / 1.229 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002833/0.9631, allocations: 59.64 kB / 1.229 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005668/0.9637, allocations: 155.3 kB / 1.229 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 4.232e-05/0.9637, allocations: 4 kB / 1.229 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004488/0.9642, allocations: 366.2 kB / 1.229 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.9643, allocations: 40.75 kB / 1.229 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002829/0.9646, allocations: 147.4 kB / 1.23 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002551/0.9649, allocations: 143.3 kB / 1.23 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.457e-05/0.9649, allocations: 16 kB / 1.23 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003538/0.9685, allocations: 0.5668 MB / 1.23 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.9686, allocations: 51.7 kB / 1.23 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.9688, allocations: 131.3 kB / 1.23 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01637/0.9852, allocations: 13.23 MB / 1.243 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.9853, allocations: 0 / 1.243 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9853, allocations: 0 / 1.243 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.9853, allocations: 4 kB / 1.243 GB, free: 12.09 MB / 0.9669 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.00168/0.987, allocations: 0.6613 MB / 1.244 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.987, allocations: 8.031 kB / 1.244 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.9872, allocations: 44.69 kB / 1.244 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005782/0.9878, allocations: 370.7 kB / 1.244 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.9878, allocations: 4.375 kB / 1.244 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.9878, allocations: 8.375 kB / 1.244 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.988, allocations: 101.3 kB / 1.244 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.988, allocations: 3.984 kB / 1.244 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.9881, allocations: 4 kB / 1.244 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.9881, allocations: 4 kB / 1.244 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.9882, allocations: 67.88 kB / 1.245 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.9887, allocations: 344 kB / 1.245 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.9888, allocations: 114.4 kB / 1.245 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.097e-05/0.9889, allocations: 55.47 kB / 1.245 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.989, allocations: 0 / 1.245 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.989, allocations: 50.42 kB / 1.245 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.989, allocations: 0 / 1.245 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0003903/0.9894, allocations: 189.2 kB / 1.245 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/0.9895, allocations: 128.5 kB / 1.245 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000638/0.9901, allocations: 0.5053 MB / 1.246 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.9902, allocations: 25.7 kB / 1.246 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.9903, allocations: 160.9 kB / 1.246 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.9903, allocations: 15.91 kB / 1.246 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.679e-05/0.9904, allocations: 53.62 kB / 1.246 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.9906, allocations: 342.8 kB / 1.246 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.9908, allocations: 99.91 kB / 1.247 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.991, allocations: 154.7 kB / 1.247 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003083/0.9913, allocations: 239.2 kB / 1.247 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.9913, allocations: 0 / 1.247 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004482/0.9917, allocations: 297.2 kB / 1.247 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.9918, allocations: 7.938 kB / 1.247 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.9918, allocations: 4 kB / 1.247 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.9918, allocations: 0 / 1.247 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.992, allocations: 19.98 kB / 1.247 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.992, allocations: 4 kB / 1.247 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.9922, allocations: 23.88 kB / 1.247 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.9922, allocations: 7.984 kB / 1.247 GB, free: 7.691 MB / 0.9669 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.0001936/0.9924, allocations: 182.2 kB / 1.247 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.683e-05/0.9925, allocations: 43.67 kB / 1.247 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003298/0.9928, allocations: 171.8 kB / 1.248 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.9928, allocations: 4 kB / 1.248 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.9928, allocations: 4.125 kB / 1.248 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.993, allocations: 132.8 kB / 1.248 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.604e-05/0.9931, allocations: 7.938 kB / 1.248 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.9932, allocations: 11.98 kB / 1.248 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.9933, allocations: 7.984 kB / 1.248 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003133/0.9936, allocations: 434.6 kB / 1.248 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003721/0.994, allocations: 0.5432 MB / 1.249 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.076e-05/0.994, allocations: 36.09 kB / 1.249 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004352/0.9945, allocations: 387 kB / 1.249 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of Backend: time 5.61e-07/0.9945, allocations: 0 / 1.249 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005386/0.9999, allocations: 2.916 MB / 1.252 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001226/1.001, allocations: 1.049 MB / 1.253 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of Templates: time 0.01331/1.014, allocations: 7.38 MB / 1.26 GB, free: 10.32 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & ./Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches