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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008934/0.0008934, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009042/0.0009042, allocations: 173.4 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9162/0.9162, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.213/2.213, allocations: 438.8 MB / 0.6826 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.[0-9,]+..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.[0-9,]+..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 3.938 kB / 0.8385 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123e-05/1.252e-05, allocations: 2.312 kB / 0.8385 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.001731/0.001744, allocations: 1.635 MB / 0.8401 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.000971/0.002715, allocations: 0.9383 MB / 0.8411 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.093e-05/0.002776, allocations: 4 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001848/0.002961, allocations: 55.61 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003353/0.003296, allocations: 155.1 kB / 0.8413 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 2.263e-05/0.003319, allocations: 11.98 kB / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000275/0.003594, allocations: 378 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.46e-05/0.003638, allocations: 22.88 kB / 0.8417 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.003861, allocations: 199.5 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.003992, allocations: 127.7 kB / 0.842 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.004013, allocations: 12 kB / 0.842 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007535/0.004767, allocations: 0.5476 MB / 0.8425 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.265e-05/0.00482, allocations: 51.7 kB / 0.8426 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0003155/0.005135, allocations: 83.77 kB / 0.8426 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0007102/0.005845, allocations: 0.8735 MB / 0.8435 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.412e-06/0.005847, allocations: 0 / 0.8435 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5e-07/0.005847, allocations: 0 / 0.8435 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.926e-06/0.00585, allocations: 0 / 0.8435 GB, free: 9.133 MB / 0.8073 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.0006916/0.006542, allocations: 0.5299 MB / 0.844 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.629e-05/0.006568, allocations: 8.031 kB / 0.844 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.006609, allocations: 24.84 kB / 0.844 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.006835, allocations: 248.8 kB / 0.8443 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.006843, allocations: 384 / 0.8443 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.006859, allocations: 16.38 kB / 0.8443 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.388e-05/0.006933, allocations: 65.59 kB / 0.8444 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.501e-06/0.006938, allocations: 192 / 0.8444 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.006946, allocations: 4.375 kB / 0.8444 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.006952, allocations: 7.938 kB / 0.8444 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.225e-05/0.006975, allocations: 11.92 kB / 0.8444 GB, free: 8.152 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001072/0.007082, allocations: 91.58 kB / 0.8445 GB, free: 8.039 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.299e-05/0.007145, allocations: 82.44 kB / 0.8445 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.917e-05/0.007174, allocations: 31.56 kB / 0.8446 GB, free: 7.879 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.007186, allocations: 8 kB / 0.8446 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.007205, allocations: 34.5 kB / 0.8446 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.007206, allocations: 0 / 0.8446 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001303/0.007336, allocations: 77.53 kB / 0.8447 GB, free: 7.746 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.007382, allocations: 132.5 kB / 0.8448 GB, free: 7.586 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.007585, allocations: 339.3 kB / 0.8451 GB, free: 7.242 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.007597, allocations: 25.7 kB / 0.8452 GB, free: 7.211 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/0.007644, allocations: 125.5 kB / 0.8453 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.007664, allocations: 15.84 kB / 0.8453 GB, free: 7.066 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-05/0.007709, allocations: 45.67 kB / 0.8453 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.486e-05/0.007784, allocations: 346.7 kB / 0.8457 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.16e-05/0.007825, allocations: 30.81 kB / 0.8457 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.747e-05/0.007903, allocations: 173.6 kB / 0.8459 GB, free: 6.418 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.232e-05/0.007995, allocations: 94.69 kB / 0.846 GB, free: 6.309 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.007997, allocations: 3.938 kB / 0.846 GB, free: 6.305 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001207/0.008118, allocations: 124.8 kB / 0.8461 GB, free: 6.172 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.008128, allocations: 7.984 kB / 0.8461 GB, free: 6.164 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.008133, allocations: 0 / 0.8461 GB, free: 6.164 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.008145, allocations: 4 kB / 0.8461 GB, free: 6.16 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.603e-05/0.008211, allocations: 16 kB / 0.8461 GB, free: 6.145 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.008214, allocations: 3.984 kB / 0.8461 GB, free: 6.141 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.47e-05/0.008289, allocations: 19.78 kB / 0.8461 GB, free: 6.121 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.008298, allocations: 4 kB / 0.8461 GB, free: 6.117 MB / 0.8073 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 6.43e-05/0.008363, allocations: 120.6 kB / 0.8463 GB, free: 5.988 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.008385, allocations: 19.97 kB / 0.8463 GB, free: 5.969 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.008511, allocations: 108 kB / 0.8464 GB, free: 5.859 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.008515, allocations: 8.062 kB / 0.8464 GB, free: 5.852 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.008517, allocations: 7.984 kB / 0.8464 GB, free: 5.844 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.00852, allocations: 0 / 0.8464 GB, free: 5.844 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.008626, allocations: 141.7 kB / 0.8465 GB, free: 5.688 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.008627, allocations: 0 / 0.8465 GB, free: 5.688 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.842e-05/0.008666, allocations: 12 kB / 0.8465 GB, free: 5.676 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.008667, allocations: 0 / 0.8465 GB, free: 5.676 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.008672, allocations: 0 / 0.8465 GB, free: 5.676 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.008673, allocations: 4 kB / 0.8465 GB, free: 5.672 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.008674, allocations: 0 / 0.8465 GB, free: 5.672 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.947e-05/0.008763, allocations: 127.5 kB / 0.8467 GB, free: 5.52 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.344e-05/0.008817, allocations: 39.77 kB / 0.8467 GB, free: 5.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.00884, allocations: 0 / 0.8467 GB, free: 5.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.425e-05/0.008894, allocations: 4 kB / 0.8467 GB, free: 5.477 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.799e-05/0.008912, allocations: 11.98 kB / 0.8467 GB, free: 5.465 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.008915, allocations: 0 / 0.8467 GB, free: 5.465 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001112/0.009027, allocations: 148.7 kB / 0.8469 GB, free: 5.316 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.009027, allocations: 0 / 0.8469 GB, free: 5.316 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002649/0.009292, allocations: 107.8 kB / 0.847 GB, free: 5.211 MB / 0.8073 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.002903/0.01219, allocations: 2.797 MB / 0.8497 GB, free: 2.402 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.01231, allocations: 60.75 kB / 0.8498 GB, free: 2.34 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.01232, allocations: 4 kB / 0.8498 GB, free: 2.336 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.342e-05/0.01234, allocations: 28.72 kB / 0.8498 GB, free: 2.305 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.01251, allocations: 57.81 kB / 0.8498 GB, free: 2.25 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006705/0.01318, allocations: 0.4985 MB / 0.8503 GB, free: 1.711 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.24e-05/0.01323, allocations: 107.9 kB / 0.8504 GB, free: 1.586 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.352e-05/0.01329, allocations: 22 kB / 0.8504 GB, free: 1.559 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.01342, allocations: 99.34 kB / 0.8505 GB, free: 1.461 MB / 0.8073 GB Notification: Performance of SimCode: time 4.71e-07/0.01342, allocations: 4 kB / 0.8505 GB, free: 1.457 MB / 0.8073 GB Notification: Performance of Templates: time 0.008757/0.02217, allocations: 8.011 MB / 0.8584 GB, free: 9.527 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.175139090046287]