Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007463/0.0007463, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007668/0.0007668, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8773/0.8773, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.6/1.6, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/3.158e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002322/0.002354, allocations: 1.581 MB / 0.952 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.003379, allocations: 0.8689 MB / 0.9529 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.66e-05/0.003456, allocations: 0 / 0.9529 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0002342/0.00369, allocations: 55.67 kB / 0.9529 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0004176/0.004108, allocations: 151.1 kB / 0.953 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 2.699e-05/0.004135, allocations: 4 kB / 0.9531 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0003112/0.004446, allocations: 386.1 kB / 0.9534 GB, free: 456 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 5.063e-05/0.004496, allocations: 12.94 kB / 0.9534 GB, free: 440 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002588/0.004755, allocations: 199.5 kB / 0.9536 GB, free: 240 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.004896, allocations: 127.6 kB / 0.9537 GB, free: 112 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.004922, allocations: 16 kB / 0.9538 GB, free: 96 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004041/0.005326, allocations: 488.7 kB / 0.9542 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.805e-05/0.005394, allocations: 59.69 kB / 0.9543 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.23e-05/0.005467, allocations: 83.78 kB / 0.9544 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0009453/0.006412, allocations: 0.9008 MB / 0.9552 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.006416, allocations: 3.938 kB / 0.9552 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.253e-06/0.006417, allocations: 0 / 0.9552 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.006423, allocations: 0 / 0.9552 GB, free: 14.55 MB / 0.9167 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.0009482/0.007371, allocations: 0.586 MB / 0.9558 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.007412, allocations: 12.03 kB / 0.9558 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.201e-05/0.007444, allocations: 34.73 kB / 0.9559 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.007491, allocations: 32.75 kB / 0.9559 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.007847, allocations: 316 kB / 0.9562 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.00786, allocations: 4.375 kB / 0.9562 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.007875, allocations: 8.375 kB / 0.9562 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.008001, allocations: 101.5 kB / 0.9563 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.008007, allocations: 192 / 0.9563 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.008019, allocations: 12.12 kB / 0.9563 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.008024, allocations: 4 kB / 0.9563 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.132e-05/0.008096, allocations: 63.88 kB / 0.9564 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002461/0.008342, allocations: 291.2 kB / 0.9567 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 9.657e-05/0.008438, allocations: 98.41 kB / 0.9568 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.995e-05/0.008498, allocations: 67.39 kB / 0.9568 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.008515, allocations: 4 kB / 0.9568 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.008535, allocations: 34.56 kB / 0.9569 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.008536, allocations: 0 / 0.9569 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4): time 0.0002644/0.008801, allocations: 197.1 kB / 0.957 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.008847, allocations: 132.5 kB / 0.9572 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/0.00923, allocations: 0.4937 MB / 0.9576 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.009244, allocations: 29.7 kB / 0.9577 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.425e-05/0.009328, allocations: 164.4 kB / 0.9578 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.009351, allocations: 15.84 kB / 0.9578 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/0.0094, allocations: 45.69 kB / 0.9579 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.081e-05/0.00949, allocations: 342.8 kB / 0.9582 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.581e-05/0.009586, allocations: 104.4 kB / 0.9583 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.009735, allocations: 275.7 kB / 0.9586 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.009934, allocations: 239.2 kB / 0.9588 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.009936, allocations: 0 / 0.9588 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002552/0.01019, allocations: 301.3 kB / 0.9591 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.01021, allocations: 8 kB / 0.9591 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.01021, allocations: 0 / 0.9591 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.01023, allocations: 3.938 kB / 0.9591 GB, free: 10.26 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.253e-05/0.01032, allocations: 23.92 kB / 0.9591 GB, free: 10.24 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.01032, allocations: 0 / 0.9591 GB, free: 10.24 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.286e-05/0.01042, allocations: 23.88 kB / 0.9592 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.01043, allocations: 7.984 kB / 0.9592 GB, free: 10.21 MB / 0.9167 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.0001253/0.01056, allocations: 181.7 kB / 0.9593 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.01058, allocations: 31.75 kB / 0.9594 GB, free: 9.988 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002273/0.01081, allocations: 187.9 kB / 0.9595 GB, free: 9.801 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.01081, allocations: 3.938 kB / 0.9595 GB, free: 9.797 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.01082, allocations: 7.938 kB / 0.9596 GB, free: 9.789 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.01082, allocations: 0 / 0.9596 GB, free: 9.789 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.01098, allocations: 240.5 kB / 0.9598 GB, free: 9.512 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01099, allocations: 128 / 0.9598 GB, free: 9.512 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.389e-05/0.01104, allocations: 19.98 kB / 0.9598 GB, free: 9.492 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.01104, allocations: 0 / 0.9598 GB, free: 9.492 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.01105, allocations: 4 kB / 0.9598 GB, free: 9.488 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.01105, allocations: 3.938 kB / 0.9598 GB, free: 9.484 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01106, allocations: 4 kB / 0.9598 GB, free: 9.48 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.01121, allocations: 191.3 kB / 0.96 GB, free: 9.266 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.987e-05/0.01129, allocations: 55.78 kB / 0.9601 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.01132, allocations: 7.953 kB / 0.9601 GB, free: 9.203 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.271e-05/0.01139, allocations: 15.92 kB / 0.9601 GB, free: 9.188 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.746e-05/0.01141, allocations: 7.984 kB / 0.9601 GB, free: 9.18 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.01141, allocations: 4 kB / 0.9601 GB, free: 9.176 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002816/0.0117, allocations: 375.1 kB / 0.9604 GB, free: 8.812 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.0117, allocations: 0 / 0.9604 GB, free: 8.812 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000335/0.01203, allocations: 111.9 kB / 0.9606 GB, free: 8.703 MB / 0.9167 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.003132/0.01516, allocations: 3.434 MB / 0.9639 GB, free: 5.227 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002751/0.01544, allocations: 167.8 kB / 0.9641 GB, free: 5.062 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.01544, allocations: 0 / 0.9641 GB, free: 5.062 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.324e-05/0.01548, allocations: 43.91 kB / 0.9641 GB, free: 5.02 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.01577, allocations: 64.61 kB / 0.9642 GB, free: 4.961 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/0.01864, allocations: 3.514 MB / 0.9676 GB, free: 1.32 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.01875, allocations: 207.4 kB / 0.9678 GB, free: 1.102 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 9.842e-05/0.01885, allocations: 54.28 kB / 0.9679 GB, free: 1.047 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.605e-05/0.01895, allocations: 80.47 kB / 0.9679 GB, free: 0.9688 MB / 0.9167 GB Notification: Performance of SimCode: time 1.573e-06/0.01895, allocations: 0 / 0.9679 GB, free: 0.9688 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02607/0.04502, allocations: 11.83 MB / 0.9795 GB, free: 5.352 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.033/7.078, allocations: 3.984 kB / 0.9795 GB, free: 5.348 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.914563419297338]