Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.001439/0.001439, allocations: 113 kB / 18.94 MB, free: 2.934 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.001762/0.001762, allocations: 207.8 kB / 22.25 MB, free: 5.082 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.337/1.337, allocations: 230.6 MB / 256 MB, free: 8.027 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.943/2.943, allocations: 0.505 GB / 0.8101 GB, free: 22 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.EN12975SolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.001848/0.001848, allocations: 65.64 kB / 1.177 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2862, allocations: 180.2 MB / 1.353 GB, free: 8.43 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003163/0.2894, allocations: 2.112 MB / 1.355 GB, free: 6.309 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005249/0.2946, allocations: 4.235 MB / 1.359 GB, free: 2.059 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.2948, allocations: 7.938 kB / 1.359 GB, free: 2.051 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00075/0.2955, allocations: 203 kB / 1.359 GB, free: 1.852 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.2957, allocations: 67.42 kB / 1.359 GB, free: 1.785 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007701/0.2964, allocations: 318.1 kB / 1.36 GB, free: 1.477 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006303/0.2971, allocations: 382.8 kB / 1.36 GB, free: 1.102 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.2972, allocations: 40.55 kB / 1.36 GB, free: 1.059 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.2974, allocations: 119.5 kB / 1.36 GB, free: 0.9414 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002086/0.2976, allocations: 131.5 kB / 1.36 GB, free: 0.8125 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.806e-05/0.2976, allocations: 16 kB / 1.36 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005643/0.2982, allocations: 339.4 kB / 1.361 GB, free: 476 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.2983, allocations: 107.6 kB / 1.361 GB, free: 368 kB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.2985, allocations: 155 kB / 1.361 GB, free: 212 kB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007126/0.2992, allocations: 0.5292 MB / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2992, allocations: 0 / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2992, allocations: 0 / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.392e-05/0.2992, allocations: 0 / 1.361 GB, free: 15.68 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001286/0.3005, allocations: 0.6924 MB / 1.362 GB, free: 14.95 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.3005, allocations: 12.03 kB / 1.362 GB, free: 14.93 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.278e-05/0.3006, allocations: 46.67 kB / 1.362 GB, free: 14.88 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.3016, allocations: 160.5 kB / 1.362 GB, free: 14.72 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006383/0.3022, allocations: 304.6 kB / 1.363 GB, free: 14.4 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.3022, allocations: 4.375 kB / 1.363 GB, free: 14.4 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.3023, allocations: 8.375 kB / 1.363 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004985/0.3028, allocations: 215.4 kB / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.3028, allocations: 4 kB / 1.363 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.3028, allocations: 8 kB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.3028, allocations: 0 / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006784/0.3035, allocations: 259.8 kB / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.3045, allocations: 0.5736 MB / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004175/0.3049, allocations: 174.5 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003465/0.3053, allocations: 136.8 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.174e-05/0.3053, allocations: 23.98 kB / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.3054, allocations: 34.5 kB / 1.364 GB, free: 12.91 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.3054, allocations: 0 / 1.364 GB, free: 12.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.001199/0.3066, allocations: 469.5 kB / 1.364 GB, free: 12.45 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.3066, allocations: 55.34 kB / 1.364 GB, free: 12.38 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000416/0.307, allocations: 425.9 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.307, allocations: 25.7 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.3072, allocations: 191.9 kB / 1.365 GB, free: 11.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.3072, allocations: 31.7 kB / 1.365 GB, free: 11.7 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.738e-05/0.3073, allocations: 41.69 kB / 1.365 GB, free: 11.65 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3074, allocations: 350.8 kB / 1.365 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003878/0.3078, allocations: 175.9 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003767/0.3082, allocations: 175.9 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007622/0.309, allocations: 380.8 kB / 1.366 GB, free: 10.58 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.309, allocations: 4 kB / 1.366 GB, free: 10.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000918/0.3099, allocations: 488.3 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/0.3099, allocations: 39.41 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3099, allocations: 4 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3099, allocations: 3.984 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.3103, allocations: 43.95 kB / 1.367 GB, free: 9.992 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.3103, allocations: 7.875 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.3105, allocations: 43.84 kB / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.3105, allocations: 4 kB / 1.367 GB, free: 9.938 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001581/0.3107, allocations: 165.7 kB / 1.367 GB, free: 9.766 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.131e-05/0.3108, allocations: 35.77 kB / 1.367 GB, free: 9.73 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009065/0.3117, allocations: 372.6 kB / 1.367 GB, free: 9.359 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3117, allocations: 0 / 1.367 GB, free: 9.359 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3117, allocations: 3.938 kB / 1.367 GB, free: 9.355 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3117, allocations: 0 / 1.367 GB, free: 9.355 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003616/0.312, allocations: 328.5 kB / 1.368 GB, free: 8.992 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.312, allocations: 7.938 kB / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003138/0.3124, allocations: 43.94 kB / 1.368 GB, free: 8.941 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3124, allocations: 4 kB / 1.368 GB, free: 8.938 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.3124, allocations: 0 / 1.368 GB, free: 8.938 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3124, allocations: 0 / 1.368 GB, free: 8.938 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3124, allocations: 3.938 kB / 1.368 GB, free: 8.934 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008346/0.3132, allocations: 443.8 kB / 1.368 GB, free: 8.484 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.3133, allocations: 55.67 kB / 1.368 GB, free: 8.43 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/0.3134, allocations: 12 kB / 1.368 GB, free: 8.418 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.3136, allocations: 23.97 kB / 1.368 GB, free: 8.395 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.66e-05/0.3137, allocations: 23.84 kB / 1.368 GB, free: 8.371 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.3137, allocations: 7.984 kB / 1.368 GB, free: 8.363 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000288/0.314, allocations: 295.1 kB / 1.369 GB, free: 8.074 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.314, allocations: 0 / 1.369 GB, free: 8.074 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004033/0.3144, allocations: 115.8 kB / 1.369 GB, free: 7.961 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 (11): * Single equations (assignments): 11 * 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.001323/0.3157, allocations: 1.044 MB / 1.37 GB, free: 6.891 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009393/0.3167, allocations: 471 kB / 1.37 GB, free: 6.418 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3167, allocations: 11.94 kB / 1.37 GB, free: 6.406 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003726/0.3171, allocations: 139.8 kB / 1.37 GB, free: 6.27 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.3175, allocations: 61.56 kB / 1.37 GB, free: 6.211 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005757/0.3232, allocations: 4.292 MB / 1.374 GB, free: 1.832 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.3236, allocations: 0.7827 MB / 1.375 GB, free: 1.023 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002096/0.3238, allocations: 57.91 kB / 1.375 GB, free: 0.9688 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.324, allocations: 111.4 kB / 1.375 GB, free: 0.8594 MB / 1.061 GB Notification: Performance of SimCode: time 5.41e-07/0.324, allocations: 0 / 1.375 GB, free: 0.8594 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03539/0.3594, allocations: 8.746 MB / 1.384 GB, free: 8.289 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.81, allocations: 10.19 kB / 1.384 GB, free: 8.285 MB / 1.076 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.805704646045342]