Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 104.5 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001967/0.001967, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.577/2.577, allocations: 443.5 MB / 0.7287 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 75.89 kB / 1.056 GB, free: 2.527 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2981, allocations: 160.7 MB / 1.213 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002798/0.3008, allocations: 1.585 MB / 1.214 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.3023, allocations: 0.9314 MB / 1.215 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.623e-05/0.3024, allocations: 4 kB / 1.215 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000243/0.3026, allocations: 63.64 kB / 1.215 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000435/0.3031, allocations: 143.3 kB / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.186e-05/0.3031, allocations: 3.984 kB / 1.216 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004263/0.3035, allocations: 358.3 kB / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.635e-05/0.3036, allocations: 36.75 kB / 1.216 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.3038, allocations: 143.4 kB / 1.216 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002587/0.3041, allocations: 143.3 kB / 1.216 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.3041, allocations: 16 kB / 1.216 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007094/0.3048, allocations: 0.532 MB / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.133e-05/0.3049, allocations: 59.69 kB / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.3051, allocations: 131.2 kB / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.3064, allocations: 0.85 MB / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3064, allocations: 0 / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3064, allocations: 0 / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3064, allocations: 0 / 1.218 GB, free: 12.47 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.001399/0.3078, allocations: 0.6613 MB / 1.218 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.3078, allocations: 8.031 kB / 1.218 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.661e-05/0.3078, allocations: 34.69 kB / 1.218 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.559e-05/0.3079, allocations: 36.75 kB / 1.218 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005295/0.3084, allocations: 378.7 kB / 1.219 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.3085, allocations: 4.375 kB / 1.219 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.3085, allocations: 4.375 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.3086, allocations: 97.2 kB / 1.219 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3086, allocations: 7.938 kB / 1.219 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.3086, allocations: 0 / 1.219 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3087, allocations: 7.984 kB / 1.219 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.873e-05/0.3088, allocations: 59.94 kB / 1.219 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.3091, allocations: 352 kB / 1.219 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.3093, allocations: 110.4 kB / 1.219 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.845e-05/0.3094, allocations: 59.47 kB / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.3094, allocations: 0 / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.3094, allocations: 50.42 kB / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.3094, allocations: 0 / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0003379/0.3098, allocations: 185.3 kB / 1.22 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.775e-05/0.3098, allocations: 132.5 kB / 1.22 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006187/0.3105, allocations: 0.5015 MB / 1.22 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.3105, allocations: 25.7 kB / 1.22 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.3106, allocations: 164.3 kB / 1.221 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.3106, allocations: 16.34 kB / 1.221 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.977e-05/0.3107, allocations: 53.62 kB / 1.221 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3109, allocations: 342.8 kB / 1.221 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.311, allocations: 95.92 kB / 1.221 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.3112, allocations: 166.7 kB / 1.221 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003154/0.3115, allocations: 239.2 kB / 1.221 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3115, allocations: 0 / 1.221 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004293/0.312, allocations: 293.2 kB / 1.222 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.312, allocations: 13.66 kB / 1.222 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.312, allocations: 0 / 1.222 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.312, allocations: 0 / 1.222 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.3121, allocations: 15.98 kB / 1.222 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3121, allocations: 4 kB / 1.222 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.3123, allocations: 19.88 kB / 1.222 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.3123, allocations: 11.98 kB / 1.222 GB, free: 8.031 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.000172/0.3125, allocations: 177.8 kB / 1.222 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.082e-05/0.3126, allocations: 31.75 kB / 1.222 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003413/0.3129, allocations: 187.9 kB / 1.222 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3129, allocations: 4 kB / 1.222 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3129, allocations: 0 / 1.222 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3129, allocations: 128 / 1.222 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.3132, allocations: 301.4 kB / 1.222 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3132, allocations: 4 kB / 1.222 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.966e-05/0.3133, allocations: 23.86 kB / 1.222 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.3133, allocations: 4 kB / 1.222 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.3133, allocations: 0 / 1.222 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.3133, allocations: 4 kB / 1.222 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3133, allocations: 0 / 1.222 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.3136, allocations: 191.3 kB / 1.223 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.3137, allocations: 136.8 kB / 1.223 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.556e-05/0.3138, allocations: 7.938 kB / 1.223 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.3139, allocations: 11.98 kB / 1.223 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.881e-05/0.3139, allocations: 4 kB / 1.223 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.314, allocations: 3.984 kB / 1.223 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000449/0.3144, allocations: 379.1 kB / 1.223 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3144, allocations: 0 / 1.223 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004788/0.3149, allocations: 107.9 kB / 1.223 GB, free: 6.379 MB / 0.9669 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.005255/0.3201, allocations: 3.442 MB / 1.227 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005305/0.3207, allocations: 155.8 kB / 1.227 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.3207, allocations: 4 kB / 1.227 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.642e-05/0.3207, allocations: 51.89 kB / 1.227 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005777/0.3213, allocations: 53.67 kB / 1.227 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004729/0.3261, allocations: 3.489 MB / 1.23 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.3265, allocations: 0.8182 MB / 1.231 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001493/0.3266, allocations: 50.28 kB / 1.231 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.3268, allocations: 79.41 kB / 1.231 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of SimCode: time 7.02e-07/0.3268, allocations: 0 / 1.231 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03704/0.3638, allocations: 10.76 MB / 1.242 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.464/8.828, allocations: 25.73 kB / 1.242 GB, free: 3.453 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.570623741019517]