Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.001496/0.001496, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001659/0.001659, allocations: 217.3 kB / 22.25 MB, free: 5.121 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.32/1.32, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 179] 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.95/2.95, allocations: 0.505 GB / 0.8101 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",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.001917/0.001917, allocations: 60.52 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2828, allocations: 180.2 MB / 1.353 GB, free: 8.473 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003058/0.2858, allocations: 1.931 MB / 1.355 GB, free: 6.531 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004418/0.2902, allocations: 3.749 MB / 1.358 GB, free: 2.77 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.2903, allocations: 4 kB / 1.358 GB, free: 2.766 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007096/0.291, allocations: 199 kB / 1.359 GB, free: 2.57 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.2912, allocations: 87.45 kB / 1.359 GB, free: 2.484 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001192/0.2914, allocations: 51.86 kB / 1.359 GB, free: 2.434 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004766/0.2918, allocations: 279.1 kB / 1.359 GB, free: 2.16 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.035e-05/0.2919, allocations: 29.7 kB / 1.359 GB, free: 2.129 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.2921, allocations: 75.72 kB / 1.359 GB, free: 2.055 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.2922, allocations: 83.55 kB / 1.359 GB, free: 1.973 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.2922, allocations: 8 kB / 1.359 GB, free: 1.965 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.952e-05/0.2923, allocations: 35.97 kB / 1.359 GB, free: 1.93 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.184e-05/0.2924, allocations: 59.75 kB / 1.359 GB, free: 1.871 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.64e-05/0.2925, allocations: 91.42 kB / 1.359 GB, free: 1.781 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.2927, allocations: 203 kB / 1.36 GB, free: 1.582 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2927, allocations: 4 kB / 1.36 GB, free: 1.578 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2927, allocations: 0 / 1.36 GB, free: 1.578 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.2927, allocations: 0 / 1.36 GB, free: 1.578 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008368/0.2936, allocations: 476.7 kB / 1.36 GB, free: 1.082 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.2936, allocations: 12.03 kB / 1.36 GB, free: 1.07 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.32e-05/0.2937, allocations: 42.75 kB / 1.36 GB, free: 1.02 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008405/0.2945, allocations: 120.6 kB / 1.36 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004681/0.295, allocations: 210.6 kB / 1.36 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.981e-06/0.295, allocations: 4.375 kB / 1.36 GB, free: 0.668 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.295, allocations: 8.375 kB / 1.36 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.2953, allocations: 154.7 kB / 1.361 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.2954, allocations: 0 / 1.361 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.2954, allocations: 4 kB / 1.361 GB, free: 0.5 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/0.2954, allocations: 8 kB / 1.361 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004324/0.2958, allocations: 163.8 kB / 1.361 GB, free: 340 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007137/0.2965, allocations: 443.5 kB / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/0.297, allocations: 178.5 kB / 1.361 GB, free: 15.67 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002709/0.2972, allocations: 112.7 kB / 1.361 GB, free: 15.56 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.2972, allocations: 256 / 1.361 GB, free: 15.56 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.2973, allocations: 38.56 kB / 1.361 GB, free: 15.51 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 9.91e-07/0.2973, allocations: 3.938 kB / 1.361 GB, free: 15.51 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0008239/0.2981, allocations: 319.8 kB / 1.362 GB, free: 15.19 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.2981, allocations: 59.41 kB / 1.362 GB, free: 15.12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.2984, allocations: 256.2 kB / 1.362 GB, free: 14.86 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.2984, allocations: 25.7 kB / 1.362 GB, free: 14.83 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.794e-05/0.2985, allocations: 136.1 kB / 1.362 GB, free: 14.69 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.852e-05/0.2985, allocations: 43.62 kB / 1.362 GB, free: 14.65 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-05/0.2986, allocations: 37.66 kB / 1.362 GB, free: 14.61 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.2987, allocations: 334.8 kB / 1.363 GB, free: 14.27 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.2989, allocations: 91.86 kB / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.2992, allocations: 79.94 kB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005044/0.2997, allocations: 184.7 kB / 1.363 GB, free: 13.92 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2997, allocations: 0 / 1.363 GB, free: 13.92 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005273/0.3002, allocations: 231.3 kB / 1.363 GB, free: 13.69 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3002, allocations: 8 kB / 1.363 GB, free: 13.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.3002, allocations: 4 kB / 1.363 GB, free: 13.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3002, allocations: 3.984 kB / 1.363 GB, free: 13.67 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.3005, allocations: 39.91 kB / 1.363 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.3005, allocations: 0 / 1.363 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.3007, allocations: 15.92 kB / 1.363 GB, free: 13.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.3007, allocations: 19.91 kB / 1.363 GB, free: 13.6 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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 prepare postOptimizeDAE: time 0.0001233/0.3008, allocations: 141.7 kB / 1.363 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.808e-05/0.3009, allocations: 23.81 kB / 1.363 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.854e-05/0.3009, allocations: 33.8 kB / 1.363 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3009, allocations: 8 kB / 1.363 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3009, allocations: 0 / 1.363 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.301, allocations: 0 / 1.363 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.3012, allocations: 252.5 kB / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3012, allocations: 3.938 kB / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.3015, allocations: 43.89 kB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3015, allocations: 0 / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.3015, allocations: 0 / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3015, allocations: 0 / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.3015, allocations: 8 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005924/0.3021, allocations: 343.1 kB / 1.364 GB, free: 12.69 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.936e-05/0.3022, allocations: 35.78 kB / 1.364 GB, free: 12.65 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.3022, allocations: 8 kB / 1.364 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.3025, allocations: 11.98 kB / 1.364 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.3025, allocations: 15.97 kB / 1.364 GB, free: 12.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.3025, allocations: 4 kB / 1.364 GB, free: 12.61 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001623/0.3027, allocations: 195 kB / 1.364 GB, free: 12.43 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3027, allocations: 0 / 1.364 GB, free: 12.43 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002537/0.3029, allocations: 43.94 kB / 1.364 GB, free: 12.38 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.0008487/0.3038, allocations: 0.8664 MB / 1.365 GB, free: 11.49 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004956/0.3043, allocations: 183.8 kB / 1.365 GB, free: 11.31 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.3043, allocations: 0 / 1.365 GB, free: 11.31 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002859/0.3046, allocations: 99.86 kB / 1.365 GB, free: 11.21 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.305, allocations: 59.17 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/0.3083, allocations: 2.482 MB / 1.368 GB, free: 8.598 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.3086, allocations: 0.7436 MB / 1.369 GB, free: 7.828 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000217/0.3088, allocations: 65.38 kB / 1.369 GB, free: 7.758 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.309, allocations: 67.39 kB / 1.369 GB, free: 7.695 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/0.309, allocations: 0 / 1.369 GB, free: 7.695 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.34, allocations: 5.242 MB / 1.374 GB, free: 2.625 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/10.53, allocations: 8.266 kB / 1.374 GB, free: 2.621 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.497946810908616]