Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001415/0.001415, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001559/0.001559, allocations: 215.1 kB / 23.04 MB, free: 5.074 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.343/1.343, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 179] 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.911/2.911, allocations: 0.49 GB / 0.7959 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.001848/0.001848, allocations: 69.17 kB / 1.155 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2709, allocations: 176.1 MB / 1.327 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003061/0.274, allocations: 1.922 MB / 1.329 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004642/0.2786, allocations: 3.756 MB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.2788, allocations: 0 / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007391/0.2795, allocations: 195.1 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.2797, allocations: 87.45 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000121/0.2798, allocations: 43.94 kB / 1.333 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004988/0.2803, allocations: 287.1 kB / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.894e-05/0.2804, allocations: 25.66 kB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.2805, allocations: 79.7 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.2807, allocations: 79.61 kB / 1.333 GB, free: 11.42 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.2807, allocations: 8 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-05/0.2808, allocations: 39.97 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.269e-05/0.2809, allocations: 59.77 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.431e-05/0.281, allocations: 91.39 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.2813, allocations: 199 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.2813, allocations: 0 / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2813, allocations: 0 / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.2813, allocations: 0 / 1.333 GB, free: 11.03 MB / 1.029 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.0008585/0.2821, allocations: 484.7 kB / 1.334 GB, free: 10.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.2822, allocations: 19.97 kB / 1.334 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.127e-05/0.2822, allocations: 192 / 1.334 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.194e-05/0.2822, allocations: 42.73 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003657/0.2826, allocations: 56.75 kB / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.283, allocations: 202.6 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.36e-06/0.283, allocations: 4.375 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.283, allocations: 12.12 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.2834, allocations: 149.4 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.2834, allocations: 0 / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.2834, allocations: 0 / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/0.2834, allocations: 11.98 kB / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004464/0.2839, allocations: 143.9 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000687/0.2846, allocations: 431.5 kB / 1.335 GB, free: 9.387 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004167/0.285, allocations: 162.5 kB / 1.335 GB, free: 9.219 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002531/0.2852, allocations: 100.8 kB / 1.335 GB, free: 9.117 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.2852, allocations: 0 / 1.335 GB, free: 9.117 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.2853, allocations: 38.5 kB / 1.335 GB, free: 9.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 9.42e-07/0.2853, allocations: 0 / 1.335 GB, free: 9.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008396/0.2861, allocations: 305.3 kB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.2861, allocations: 55.41 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.2864, allocations: 256.2 kB / 1.336 GB, free: 8.445 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.2864, allocations: 25.7 kB / 1.336 GB, free: 8.414 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.2865, allocations: 144.1 kB / 1.336 GB, free: 8.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.484e-05/0.2866, allocations: 35.66 kB / 1.336 GB, free: 8.234 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-05/0.2866, allocations: 37.69 kB / 1.336 GB, free: 8.191 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.2868, allocations: 334.8 kB / 1.336 GB, free: 7.855 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.287, allocations: 83.92 kB / 1.336 GB, free: 7.773 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.2872, allocations: 71.94 kB / 1.336 GB, free: 7.703 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004627/0.2877, allocations: 172.7 kB / 1.337 GB, free: 7.531 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2877, allocations: 0 / 1.337 GB, free: 7.531 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005427/0.2882, allocations: 221.4 kB / 1.337 GB, free: 7.309 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.2882, allocations: 4 kB / 1.337 GB, free: 7.305 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.2882, allocations: 0 / 1.337 GB, free: 7.305 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.2883, allocations: 0 / 1.337 GB, free: 7.305 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.2885, allocations: 39.97 kB / 1.337 GB, free: 7.266 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.2885, allocations: 7.922 kB / 1.337 GB, free: 7.258 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.2887, allocations: 19.86 kB / 1.337 GB, free: 7.238 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.2887, allocations: 7.984 kB / 1.337 GB, free: 7.23 MB / 1.029 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.0001284/0.2888, allocations: 138.4 kB / 1.337 GB, free: 7.086 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/0.2889, allocations: 19.86 kB / 1.337 GB, free: 7.066 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.97e-05/0.2889, allocations: 29.8 kB / 1.337 GB, free: 7.035 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.2889, allocations: 11.94 kB / 1.337 GB, free: 7.023 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.2889, allocations: 3.938 kB / 1.337 GB, free: 7.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.2889, allocations: 3.938 kB / 1.337 GB, free: 7.016 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.2892, allocations: 248.5 kB / 1.337 GB, free: 6.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2892, allocations: 4 kB / 1.337 GB, free: 6.727 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/0.2894, allocations: 31.97 kB / 1.337 GB, free: 6.695 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2895, allocations: 0 / 1.337 GB, free: 6.695 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.2895, allocations: 0 / 1.337 GB, free: 6.695 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2895, allocations: 3.938 kB / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2895, allocations: 7.984 kB / 1.337 GB, free: 6.684 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005973/0.2901, allocations: 324.6 kB / 1.338 GB, free: 6.352 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.991e-05/0.2901, allocations: 39.73 kB / 1.338 GB, free: 6.312 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.2902, allocations: 4 kB / 1.338 GB, free: 6.309 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.2904, allocations: 19.97 kB / 1.338 GB, free: 6.289 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.2904, allocations: 11.98 kB / 1.338 GB, free: 6.277 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.2904, allocations: 7.938 kB / 1.338 GB, free: 6.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001688/0.2906, allocations: 187.1 kB / 1.338 GB, free: 6.086 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.2906, allocations: 0 / 1.338 GB, free: 6.086 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002684/0.2909, allocations: 36 kB / 1.338 GB, free: 6.051 MB / 1.029 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.0009338/0.2918, allocations: 0.8567 MB / 1.339 GB, free: 5.164 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000531/0.2924, allocations: 181.2 kB / 1.339 GB, free: 4.988 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2924, allocations: 0 / 1.339 GB, free: 4.988 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002483/0.2926, allocations: 83.94 kB / 1.339 GB, free: 4.906 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.293, allocations: 64.75 kB / 1.339 GB, free: 4.84 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003358/0.2964, allocations: 2.437 MB / 1.341 GB, free: 2.32 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.2967, allocations: 0.7436 MB / 1.342 GB, free: 1.551 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001582/0.2969, allocations: 53.36 kB / 1.342 GB, free: 1.5 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.297, allocations: 67.41 kB / 1.342 GB, free: 1.434 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.297, allocations: 112 / 1.342 GB, free: 1.434 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02574/0.3227, allocations: 5.164 MB / 1.347 GB, free: 12.47 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.78, allocations: 15.86 kB / 1.347 GB, free: 12.46 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.810950525978114]