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.001398/0.001398, allocations: 116.8 kB / 17.17 MB, free: 6 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.001655/0.001655, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.486/1.486, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.944/2.944, allocations: 0.49 GB / 0.7923 GB, free: 1.328 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_12_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.002044/0.002044, allocations: 67.84 kB / 1.149 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9256/0.9276, allocations: 176.1 MB / 1.321 GB, free: 24.82 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002403/0.93, allocations: 1.609 MB / 1.323 GB, free: 23.7 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.9313, allocations: 0.9579 MB / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.807e-05/0.9313, allocations: 2.656 kB / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.9316, allocations: 68.73 kB / 1.324 GB, free: 22.99 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004481/0.932, allocations: 143.2 kB / 1.324 GB, free: 22.92 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.421e-05/0.9321, allocations: 13.58 kB / 1.324 GB, free: 22.91 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003465/0.9324, allocations: 355.3 kB / 1.325 GB, free: 22.74 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.385e-05/0.9325, allocations: 29.53 kB / 1.325 GB, free: 22.73 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/0.9327, allocations: 169.1 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.9329, allocations: 134 kB / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.9329, allocations: 18.91 kB / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005568/0.9335, allocations: 0.535 MB / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.926e-05/0.9335, allocations: 53.64 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.9336, allocations: 133.7 kB / 1.326 GB, free: 22.34 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.935, allocations: 0.8512 MB / 1.326 GB, free: 22.18 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.935, allocations: 0 / 1.326 GB, free: 22.18 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.292e-06/0.935, allocations: 0.5312 kB / 1.326 GB, free: 22.18 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.9351, allocations: 3.938 kB / 1.326 GB, free: 22.18 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.001591/0.9366, allocations: 0.6668 MB / 1.327 GB, free: 21.64 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.9367, allocations: 13.73 kB / 1.327 GB, free: 21.63 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.818e-05/0.9367, allocations: 5.031 kB / 1.327 GB, free: 21.63 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.215e-05/0.9367, allocations: 39.66 kB / 1.327 GB, free: 21.58 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.963e-05/0.9368, allocations: 30.94 kB / 1.327 GB, free: 21.57 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004784/0.9373, allocations: 375.2 kB / 1.327 GB, free: 21.28 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.9373, allocations: 2.844 kB / 1.327 GB, free: 21.28 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.9373, allocations: 12.7 kB / 1.327 GB, free: 21.27 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.9375, allocations: 98.42 kB / 1.328 GB, free: 21.2 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.9375, allocations: 7.938 kB / 1.328 GB, free: 21.19 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.9375, allocations: 1.188 kB / 1.328 GB, free: 21.19 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.9375, allocations: 0 / 1.328 GB, free: 21.19 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.9376, allocations: 66.52 kB / 1.328 GB, free: 21.18 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003364/0.9379, allocations: 347.6 kB / 1.328 GB, free: 20.9 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.9381, allocations: 110 kB / 1.328 GB, free: 20.79 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.662e-05/0.9381, allocations: 57.55 kB / 1.328 GB, free: 20.75 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.9382, allocations: 8.844 kB / 1.328 GB, free: 20.74 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.9382, allocations: 44 kB / 1.328 GB, free: 20.69 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.9382, allocations: 0.9062 kB / 1.328 GB, free: 20.69 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0003696/0.9385, allocations: 179.8 kB / 1.328 GB, free: 20.62 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.9386, allocations: 134.5 kB / 1.328 GB, free: 20.46 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000645/0.9392, allocations: 0.4996 MB / 1.329 GB, free: 20.23 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.9393, allocations: 28.3 kB / 1.329 GB, free: 20.2 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.9394, allocations: 165.1 kB / 1.329 GB, free: 20.05 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.9394, allocations: 19.39 kB / 1.329 GB, free: 20.04 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.527e-05/0.9395, allocations: 47.92 kB / 1.329 GB, free: 20.01 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.9396, allocations: 341.5 kB / 1.33 GB, free: 19.69 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.9397, allocations: 101.6 kB / 1.33 GB, free: 19.66 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.9399, allocations: 158.5 kB / 1.33 GB, free: 19.56 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/0.9402, allocations: 240.1 kB / 1.33 GB, free: 19.45 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.9402, allocations: 0 / 1.33 GB, free: 19.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004265/0.9407, allocations: 296.7 kB / 1.33 GB, free: 19.33 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.9407, allocations: 4.344 kB / 1.33 GB, free: 19.33 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.9407, allocations: 5.406 kB / 1.33 GB, free: 19.33 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.9407, allocations: 2.203 kB / 1.33 GB, free: 19.33 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.9409, allocations: 16.84 kB / 1.33 GB, free: 19.33 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.9409, allocations: 1.703 kB / 1.33 GB, free: 19.33 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.941, allocations: 28.56 kB / 1.33 GB, free: 19.31 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.9411, allocations: 5.531 kB / 1.33 GB, free: 19.31 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.0001579/0.9412, allocations: 180.9 kB / 1.331 GB, free: 19.18 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.719e-05/0.9413, allocations: 34.61 kB / 1.331 GB, free: 19.16 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003241/0.9416, allocations: 177.9 kB / 1.331 GB, free: 19.08 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.9416, allocations: 6.25 kB / 1.331 GB, free: 19.08 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.9416, allocations: 1.156 kB / 1.331 GB, free: 19.08 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.9416, allocations: 1.656 kB / 1.331 GB, free: 19.08 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.9419, allocations: 292.5 kB / 1.331 GB, free: 18.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.9419, allocations: 5.391 kB / 1.331 GB, free: 18.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.504e-05/0.942, allocations: 19.16 kB / 1.331 GB, free: 18.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.942, allocations: 1.578 kB / 1.331 GB, free: 18.84 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.942, allocations: 1.125 kB / 1.331 GB, free: 18.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.942, allocations: 2.641 kB / 1.331 GB, free: 18.84 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.942, allocations: 9.047 kB / 1.331 GB, free: 18.83 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.9422, allocations: 197.6 kB / 1.331 GB, free: 18.69 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.9424, allocations: 137 kB / 1.331 GB, free: 18.56 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.55e-05/0.9424, allocations: 2.766 kB / 1.331 GB, free: 18.56 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.9425, allocations: 10.33 kB / 1.331 GB, free: 18.56 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.628e-05/0.9426, allocations: 17.56 kB / 1.331 GB, free: 18.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.9426, allocations: 2.828 kB / 1.331 GB, free: 18.55 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000448/0.943, allocations: 381.7 kB / 1.332 GB, free: 18.39 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.943, allocations: 1.5 kB / 1.332 GB, free: 18.39 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008495/0.9439, allocations: 105.5 kB / 1.332 GB, free: 18.38 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.006091/0.95, allocations: 3.444 MB / 1.335 GB, free: 17.39 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004272/0.9504, allocations: 164.2 kB / 1.335 GB, free: 17.35 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.9504, allocations: 0 / 1.335 GB, free: 17.35 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.295e-05/0.9505, allocations: 46.83 kB / 1.335 GB, free: 17.34 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004776/0.951, allocations: 53.16 kB / 1.336 GB, free: 17.32 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004285/0.9552, allocations: 3.492 MB / 1.339 GB, free: 15.35 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.9555, allocations: 0.8169 MB / 1.34 GB, free: 14.64 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.00016/0.9557, allocations: 44.08 kB / 1.34 GB, free: 14.64 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.9558, allocations: 85.69 kB / 1.34 GB, free: 14.57 MB / 1.061 GB Notification: Performance of SimCode: time 8.02e-07/0.9558, allocations: 0 / 1.34 GB, free: 14.57 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03278/0.9886, allocations: 10.86 MB / 1.35 GB, free: 13.67 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.13/10.12, allocations: 6.75 kB / 1.35 GB, free: 13.67 MB / 1.061 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 16.411795738036744]