Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001422/0.001422, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001549/0.001549, allocations: 167.1 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.421/1.421, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.787/2.787, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.9814 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.801e-05, allocations: 5.375 kB / 0.9814 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002849/0.002877, allocations: 1.57 MB / 0.9829 GB, free: 9.363 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001532/0.004409, allocations: 0.8644 MB / 0.9838 GB, free: 8.492 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.158e-05/0.004481, allocations: 4 kB / 0.9838 GB, free: 8.488 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.004739, allocations: 63.55 kB / 0.9838 GB, free: 8.426 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004684/0.005207, allocations: 147.2 kB / 0.984 GB, free: 8.281 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 3.851e-05/0.005246, allocations: 11.94 kB / 0.984 GB, free: 8.27 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004487/0.005695, allocations: 374.1 kB / 0.9843 GB, free: 7.902 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.525e-05/0.00575, allocations: 16.92 kB / 0.9844 GB, free: 7.887 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003456/0.006095, allocations: 203.3 kB / 0.9846 GB, free: 7.688 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.00632, allocations: 131.7 kB / 0.9847 GB, free: 7.559 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.702e-05/0.006367, allocations: 16 kB / 0.9847 GB, free: 7.543 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006829/0.00705, allocations: 480.8 kB / 0.9852 GB, free: 7.059 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.152e-05/0.007142, allocations: 51.75 kB / 0.9852 GB, free: 7.008 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.007294, allocations: 91.72 kB / 0.9853 GB, free: 6.918 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001881/0.009174, allocations: 0.9045 MB / 0.9862 GB, free: 6.012 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.009179, allocations: 4 kB / 0.9862 GB, free: 6.008 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.014e-06/0.009181, allocations: 0 / 0.9862 GB, free: 6.008 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.009188, allocations: 0 / 0.9862 GB, free: 6.008 MB / 0.8887 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.001639/0.01083, allocations: 0.586 MB / 0.9867 GB, free: 5.391 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.01087, allocations: 8.031 kB / 0.9868 GB, free: 5.383 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.622e-05/0.01096, allocations: 32.75 kB / 0.9868 GB, free: 5.352 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005884/0.01155, allocations: 320.1 kB / 0.9871 GB, free: 5.016 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.01156, allocations: 4.375 kB / 0.9871 GB, free: 5.012 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.01158, allocations: 8.375 kB / 0.9871 GB, free: 5.004 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.01178, allocations: 93.58 kB / 0.9872 GB, free: 4.895 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.01179, allocations: 4.188 kB / 0.9872 GB, free: 4.891 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.01181, allocations: 4.359 kB / 0.9872 GB, free: 4.887 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.01182, allocations: 7.938 kB / 0.9872 GB, free: 4.879 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.01195, allocations: 67.88 kB / 0.9873 GB, free: 4.812 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004041/0.01236, allocations: 259.8 kB / 0.9875 GB, free: 4.52 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.01254, allocations: 106.4 kB / 0.9876 GB, free: 4.379 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.949e-05/0.01263, allocations: 59.45 kB / 0.9877 GB, free: 4.309 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.01265, allocations: 4 kB / 0.9877 GB, free: 4.305 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.01268, allocations: 42.5 kB / 0.9877 GB, free: 4.254 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.01268, allocations: 0 / 0.9877 GB, free: 4.254 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0003673/0.01305, allocations: 185.6 kB / 0.9879 GB, free: 4.066 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.256e-05/0.01314, allocations: 132.5 kB / 0.988 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006319/0.01377, allocations: 0.5092 MB / 0.9885 GB, free: 3.387 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.0138, allocations: 25.7 kB / 0.9886 GB, free: 3.355 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.01395, allocations: 164.4 kB / 0.9887 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.01398, allocations: 15.89 kB / 0.9887 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.681e-05/0.01405, allocations: 49.64 kB / 0.9888 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.01423, allocations: 342.8 kB / 0.9891 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.01439, allocations: 99.92 kB / 0.9892 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/0.01469, allocations: 265.6 kB / 0.9894 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/0.01507, allocations: 251.3 kB / 0.9897 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.01507, allocations: 0 / 0.9897 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004728/0.01554, allocations: 305.2 kB / 0.99 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.01557, allocations: 10.02 kB / 0.99 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.01558, allocations: 0 / 0.99 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.0156, allocations: 4 kB / 0.99 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.01575, allocations: 15.98 kB / 0.99 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.01576, allocations: 3.938 kB / 0.99 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.01593, allocations: 19.88 kB / 0.99 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.01595, allocations: 8 kB / 0.99 GB, free: 1.746 MB / 0.8887 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.0002197/0.01617, allocations: 185.7 kB / 0.9902 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.207e-05/0.01622, allocations: 27.81 kB / 0.9902 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003841/0.01661, allocations: 183.6 kB / 0.9904 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.01661, allocations: 0 / 0.9904 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.01662, allocations: 8.172 kB / 0.9904 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.01662, allocations: 0 / 0.9904 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.01688, allocations: 217.2 kB / 0.9906 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.01689, allocations: 3.984 kB / 0.9906 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.096e-05/0.01698, allocations: 20.05 kB / 0.9907 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.01698, allocations: 4 kB / 0.9907 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.01699, allocations: 4 kB / 0.9907 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.017, allocations: 0 / 0.9907 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.017, allocations: 4 kB / 0.9907 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.01727, allocations: 199.3 kB / 0.9909 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.01739, allocations: 59.72 kB / 0.9909 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.778e-05/0.01744, allocations: 7.938 kB / 0.9909 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.01758, allocations: 7.984 kB / 0.9909 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.01761, allocations: 15.92 kB / 0.9909 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.01762, allocations: 4 kB / 0.9909 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000467/0.01808, allocations: 383 kB / 0.9913 GB, free: 372 kB / 0.8887 GB Notification: Performance of sort global known variables: time 7e-08/0.01808, allocations: 0 / 0.9913 GB, free: 372 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004981/0.01858, allocations: 99.94 kB / 0.9914 GB, free: 272 kB / 0.8887 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.004713/0.02329, allocations: 2.815 MB / 0.9942 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004091/0.0237, allocations: 167.8 kB / 0.9943 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.02371, allocations: 0 / 0.9943 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.479e-05/0.02378, allocations: 43.91 kB / 0.9944 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.0242, allocations: 53.81 kB / 0.9944 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.02522, allocations: 0.5873 MB / 0.995 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.02543, allocations: 215.4 kB / 0.9952 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001207/0.02555, allocations: 46.28 kB / 0.9952 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.675e-05/0.02563, allocations: 28.5 kB / 0.9953 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of SimCode: time 3.7e-07/0.02563, allocations: 0 / 0.9953 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of Templates: time 0.01396/0.03959, allocations: 7.901 MB / 1.003 GB, free: 4.434 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & ./Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.004959255456924]