Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.001457/0.001457, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001616/0.001616, allocations: 212.8 kB / 22.25 MB, free: 5.262 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.352/1.352, allocations: 230.6 MB / 256 MB, free: 7.789 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.9/2.9, allocations: 0.49 GB / 0.7951 GB, free: 35.62 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.ASHRAEHeatLoss,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.001919/0.001919, allocations: 70.7 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2992, allocations: 176.1 MB / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002969/0.3022, allocations: 1.833 MB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004116/0.3063, allocations: 3.417 MB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.176e-05/0.3064, allocations: 4 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006577/0.3071, allocations: 167.5 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.3072, allocations: 71.53 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001235/0.3074, allocations: 59.86 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004588/0.3078, allocations: 271.1 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.036e-05/0.3079, allocations: 21.72 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.308, allocations: 79.7 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.3082, allocations: 75.69 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.3082, allocations: 8 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.403e-05/0.3083, allocations: 31.91 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.988e-05/0.3083, allocations: 51.81 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.987e-05/0.3084, allocations: 75.55 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.3087, allocations: 195 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3087, allocations: 4 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3087, allocations: 0 / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.3087, allocations: 0 / 1.332 GB, free: 11.14 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.0008188/0.3095, allocations: 468.8 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3095, allocations: 12.03 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.05e-05/0.3096, allocations: 38.73 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003536/0.3099, allocations: 64.7 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.3103, allocations: 201.5 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.3103, allocations: 4.375 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.3104, allocations: 4.375 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003516/0.3107, allocations: 141.5 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3107, allocations: 7.984 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.3107, allocations: 0 / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.88e-05/0.3108, allocations: 8 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000387/0.3112, allocations: 135.8 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006677/0.3118, allocations: 399.7 kB / 1.333 GB, free: 9.574 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003777/0.3122, allocations: 154.5 kB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.3124, allocations: 104.7 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.3124, allocations: 0 / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.3125, allocations: 34.56 kB / 1.334 GB, free: 9.266 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 9.21e-07/0.3125, allocations: 4 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0007667/0.3132, allocations: 276.8 kB / 1.334 GB, free: 8.988 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.3133, allocations: 63.39 kB / 1.334 GB, free: 8.914 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.3135, allocations: 241.9 kB / 1.334 GB, free: 8.672 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.3135, allocations: 33.7 kB / 1.334 GB, free: 8.633 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.598e-05/0.3136, allocations: 136.1 kB / 1.334 GB, free: 8.496 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.3137, allocations: 39.64 kB / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.407e-05/0.3138, allocations: 33.7 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.3139, allocations: 334.8 kB / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.3141, allocations: 75.88 kB / 1.335 GB, free: 8.008 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.3143, allocations: 71.94 kB / 1.335 GB, free: 7.938 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004141/0.3147, allocations: 160.7 kB / 1.335 GB, free: 7.777 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3147, allocations: 0 / 1.335 GB, free: 7.777 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005138/0.3152, allocations: 220.7 kB / 1.335 GB, free: 7.559 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3153, allocations: 4 kB / 1.335 GB, free: 7.555 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3153, allocations: 0 / 1.335 GB, free: 7.555 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.3153, allocations: 0 / 1.335 GB, free: 7.555 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.3155, allocations: 35.91 kB / 1.335 GB, free: 7.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.3155, allocations: 4 kB / 1.335 GB, free: 7.516 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.3157, allocations: 23.88 kB / 1.335 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.3157, allocations: 7.922 kB / 1.335 GB, free: 7.484 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.0001253/0.3158, allocations: 138.4 kB / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.465e-05/0.3159, allocations: 19.86 kB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.404e-05/0.3159, allocations: 29.77 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3159, allocations: 4 kB / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3159, allocations: 0 / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.3159, allocations: 3.938 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.3162, allocations: 228.5 kB / 1.336 GB, free: 7.016 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3162, allocations: 0 / 1.336 GB, free: 7.016 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.3164, allocations: 39.91 kB / 1.336 GB, free: 6.977 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3164, allocations: 0 / 1.336 GB, free: 6.977 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.3164, allocations: 11.98 kB / 1.336 GB, free: 6.965 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3164, allocations: 0 / 1.336 GB, free: 6.965 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3164, allocations: 0 / 1.336 GB, free: 6.965 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005546/0.317, allocations: 311.2 kB / 1.336 GB, free: 6.645 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.181e-05/0.3171, allocations: 35.78 kB / 1.336 GB, free: 6.609 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.3171, allocations: 4 kB / 1.336 GB, free: 6.605 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.3173, allocations: 15.97 kB / 1.336 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.3173, allocations: 7.984 kB / 1.336 GB, free: 6.582 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.3173, allocations: 7.938 kB / 1.336 GB, free: 6.574 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000158/0.3175, allocations: 185.1 kB / 1.336 GB, free: 6.391 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3175, allocations: 0 / 1.336 GB, free: 6.391 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002588/0.3177, allocations: 43.94 kB / 1.336 GB, free: 6.348 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.0008623/0.3186, allocations: 0.8489 MB / 1.337 GB, free: 5.473 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004697/0.3191, allocations: 168.4 kB / 1.337 GB, free: 5.309 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3191, allocations: 0 / 1.337 GB, free: 5.309 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.3193, allocations: 87.88 kB / 1.338 GB, free: 5.223 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.3197, allocations: 57.59 kB / 1.338 GB, free: 5.172 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003146/0.3228, allocations: 2.364 MB / 1.34 GB, free: 2.719 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.3229, allocations: 136 kB / 1.34 GB, free: 2.566 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001454/0.3231, allocations: 45.39 kB / 1.34 GB, free: 2.523 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.3232, allocations: 59.41 kB / 1.34 GB, free: 2.465 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3232, allocations: 0 / 1.34 GB, free: 2.465 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0322/0.3554, allocations: 5.453 MB / 1.345 GB, free: 13.22 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/10.62, allocations: 0 / 1.345 GB, free: 13.22 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.643939091998618]