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.001998/0.001998, allocations: 115.1 kB / 17.16 MB, free: 5.895 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.001493/0.001493, allocations: 215 kB / 20.13 MB, free: 2.949 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.475/1.475, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.963/2.963, allocations: 0.5003 GB / 0.8026 GB, free: 6.906 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.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: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 63.91 kB / 1.165 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9009/0.9029, allocations: 178.9 MB / 1.34 GB, free: 16.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002911/0.9058, allocations: 1.621 MB / 1.342 GB, free: 14.98 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.9073, allocations: 0.948 MB / 1.343 GB, free: 14.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.304e-05/0.9074, allocations: 6.375 kB / 1.343 GB, free: 14.31 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.9077, allocations: 64.89 kB / 1.343 GB, free: 14.28 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005157/0.9082, allocations: 141.5 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.229e-05/0.9082, allocations: 7.453 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004181/0.9086, allocations: 369.6 kB / 1.343 GB, free: 14.03 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.776e-05/0.9087, allocations: 31.83 kB / 1.343 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000282/0.909, allocations: 159.9 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.9092, allocations: 139.6 kB / 1.343 GB, free: 13.89 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.74e-05/0.9092, allocations: 15.91 kB / 1.344 GB, free: 13.89 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007912/0.91, allocations: 0.5367 MB / 1.344 GB, free: 13.73 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.593e-05/0.9101, allocations: 51.95 kB / 1.344 GB, free: 13.7 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.9103, allocations: 139.6 kB / 1.344 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001416/0.9117, allocations: 0.8494 MB / 1.345 GB, free: 13.46 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.9117, allocations: 4.562 kB / 1.345 GB, free: 13.46 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9117, allocations: 0 / 1.345 GB, free: 13.46 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.9117, allocations: 1.844 kB / 1.345 GB, free: 13.46 MB / 1.061 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.001867/0.9136, allocations: 0.6622 MB / 1.346 GB, free: 12.93 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.9136, allocations: 10.12 kB / 1.346 GB, free: 12.93 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.871e-05/0.9136, allocations: 8.188 kB / 1.346 GB, free: 12.92 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.751e-05/0.9136, allocations: 32.86 kB / 1.346 GB, free: 12.88 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.792e-05/0.9137, allocations: 30.94 kB / 1.346 GB, free: 12.86 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005309/0.9143, allocations: 376.9 kB / 1.346 GB, free: 12.58 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.9143, allocations: 1.656 kB / 1.346 GB, free: 12.58 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.9143, allocations: 5.219 kB / 1.346 GB, free: 12.58 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.9145, allocations: 107.5 kB / 1.346 GB, free: 12.49 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.9145, allocations: 1.344 kB / 1.346 GB, free: 12.49 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.9145, allocations: 0.5625 kB / 1.346 GB, free: 12.49 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.9145, allocations: 1.312 kB / 1.346 GB, free: 12.49 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.9146, allocations: 71.05 kB / 1.346 GB, free: 12.47 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.915, allocations: 346 kB / 1.347 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.9151, allocations: 100.6 kB / 1.347 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.844e-05/0.9152, allocations: 66.39 kB / 1.347 GB, free: 12.05 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.9153, allocations: 12.98 kB / 1.347 GB, free: 12.04 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.9153, allocations: 33.88 kB / 1.347 GB, free: 12 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.9153, allocations: 0 / 1.347 GB, free: 12 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0004043/0.9157, allocations: 186.4 kB / 1.347 GB, free: 11.91 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.9157, allocations: 131.1 kB / 1.347 GB, free: 11.76 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006659/0.9164, allocations: 0.5029 MB / 1.348 GB, free: 11.54 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.9164, allocations: 30.95 kB / 1.348 GB, free: 11.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.9165, allocations: 156.8 kB / 1.348 GB, free: 11.37 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.9165, allocations: 15.25 kB / 1.348 GB, free: 11.36 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.259e-05/0.9166, allocations: 52.27 kB / 1.348 GB, free: 11.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.291e-05/0.9167, allocations: 341.6 kB / 1.348 GB, free: 11 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.9169, allocations: 101.2 kB / 1.348 GB, free: 10.97 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.917, allocations: 164.7 kB / 1.348 GB, free: 10.87 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/0.9174, allocations: 239.8 kB / 1.349 GB, free: 10.76 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.9174, allocations: 0 / 1.349 GB, free: 10.76 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004055/0.9178, allocations: 298.4 kB / 1.349 GB, free: 10.64 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.9178, allocations: 5.969 kB / 1.349 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.9178, allocations: 2.016 kB / 1.349 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.9179, allocations: 5.281 kB / 1.349 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.918, allocations: 17.02 kB / 1.349 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.918, allocations: 1.344 kB / 1.349 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.9182, allocations: 30.06 kB / 1.349 GB, free: 10.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.9182, allocations: 4.656 kB / 1.349 GB, free: 10.62 MB / 1.061 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.0001467/0.9183, allocations: 179.6 kB / 1.349 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.562e-05/0.9184, allocations: 33.5 kB / 1.349 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003247/0.9187, allocations: 185.4 kB / 1.349 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.9187, allocations: 2.219 kB / 1.349 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.9187, allocations: 2.312 kB / 1.349 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.9187, allocations: 1.562 kB / 1.349 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/0.9191, allocations: 296.1 kB / 1.35 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.9191, allocations: 4.969 kB / 1.35 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.438e-05/0.9192, allocations: 14.53 kB / 1.35 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.9192, allocations: 2.062 kB / 1.35 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.9192, allocations: 5.875 kB / 1.35 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.9192, allocations: 6.25 kB / 1.35 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.9192, allocations: 1.625 kB / 1.35 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.9195, allocations: 184.4 kB / 1.35 GB, free: 9.996 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.9196, allocations: 142.3 kB / 1.35 GB, free: 9.867 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.604e-05/0.9196, allocations: 6.938 kB / 1.35 GB, free: 9.863 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.9198, allocations: 9.422 kB / 1.35 GB, free: 9.863 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/0.9198, allocations: 5.828 kB / 1.35 GB, free: 9.863 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.9198, allocations: 2.969 kB / 1.35 GB, free: 9.863 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005121/0.9203, allocations: 382.4 kB / 1.35 GB, free: 9.695 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9203, allocations: 0 / 1.35 GB, free: 9.695 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001267/0.9216, allocations: 102.7 kB / 1.351 GB, free: 9.688 MB / 1.061 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.006861/0.9284, allocations: 3.45 MB / 1.354 GB, free: 8.699 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005391/0.929, allocations: 172.7 kB / 1.354 GB, free: 8.645 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.929, allocations: 0 / 1.354 GB, free: 8.645 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.284e-05/0.929, allocations: 41.83 kB / 1.354 GB, free: 8.637 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005445/0.9296, allocations: 60.36 kB / 1.354 GB, free: 8.613 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00514/0.9347, allocations: 3.487 MB / 1.358 GB, free: 6.664 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.935, allocations: 0.8117 MB / 1.358 GB, free: 5.953 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001857/0.9352, allocations: 52.66 kB / 1.358 GB, free: 5.945 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.9353, allocations: 80.62 kB / 1.358 GB, free: 5.887 MB / 1.061 GB Notification: Performance of SimCode: time 1.102e-06/0.9353, allocations: 0 / 1.358 GB, free: 5.887 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03418/0.9695, allocations: 10.86 MB / 1.369 GB, free: 4.98 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.345/10.31, allocations: 8.5 kB / 1.369 GB, free: 4.977 MB / 1.061 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.711874130996875]