Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00122/0.00122, allocations: 103.6 kB / 18.95 MB, free: 2.82 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.001445/0.001445, allocations: 217.1 kB / 22.24 MB, free: 5.117 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.361/1.361, allocations: 230.6 MB / 256 MB, free: 7.84 MB / 206.1 MB " [Timeout remaining time 178] 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 3.031/3.031, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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.ASHRAEHeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_latest_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.00192/0.00192, allocations: 75.09 kB / 1.186 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3036, allocations: 181.9 MB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003287/0.3069, allocations: 1.848 MB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004717/0.3116, allocations: 3.395 MB / 1.369 GB, free: 8.875 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.3117, allocations: 7.938 kB / 1.369 GB, free: 8.867 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007501/0.3125, allocations: 163.5 kB / 1.369 GB, free: 8.707 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002367/0.3127, allocations: 75.53 kB / 1.369 GB, free: 8.633 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001385/0.3128, allocations: 55.86 kB / 1.369 GB, free: 8.578 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004907/0.3133, allocations: 275.1 kB / 1.369 GB, free: 8.309 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.149e-05/0.3134, allocations: 21.72 kB / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.3136, allocations: 75.7 kB / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.3137, allocations: 79.62 kB / 1.369 GB, free: 8.137 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.3137, allocations: 8 kB / 1.369 GB, free: 8.129 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.3138, allocations: 35.91 kB / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.356e-05/0.3139, allocations: 51.83 kB / 1.369 GB, free: 8.043 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.314, allocations: 67.59 kB / 1.369 GB, free: 7.977 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002775/0.3143, allocations: 191.1 kB / 1.37 GB, free: 7.789 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3143, allocations: 0 / 1.37 GB, free: 7.789 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3143, allocations: 0 / 1.37 GB, free: 7.789 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.697e-06/0.3143, allocations: 0 / 1.37 GB, free: 7.789 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008672/0.3152, allocations: 484.7 kB / 1.37 GB, free: 7.285 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.3152, allocations: 8.031 kB / 1.37 GB, free: 7.277 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.282e-05/0.3153, allocations: 42.73 kB / 1.37 GB, free: 7.227 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008339/0.3161, allocations: 112.7 kB / 1.37 GB, free: 7.117 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000489/0.3166, allocations: 217.5 kB / 1.37 GB, free: 6.883 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.3166, allocations: 384 / 1.37 GB, free: 6.883 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.3166, allocations: 8.375 kB / 1.37 GB, free: 6.875 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003674/0.317, allocations: 157.3 kB / 1.371 GB, free: 6.715 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.317, allocations: 0 / 1.371 GB, free: 6.715 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.317, allocations: 0 / 1.371 GB, free: 6.715 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.317, allocations: 12 kB / 1.371 GB, free: 6.703 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004401/0.3175, allocations: 147.9 kB / 1.371 GB, free: 6.559 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007253/0.3182, allocations: 411.7 kB / 1.371 GB, free: 6.113 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004212/0.3186, allocations: 174.4 kB / 1.371 GB, free: 5.934 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.3189, allocations: 96.78 kB / 1.371 GB, free: 5.836 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.3189, allocations: 8 kB / 1.371 GB, free: 5.828 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.3189, allocations: 30.56 kB / 1.371 GB, free: 5.789 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.3189, allocations: 0 / 1.371 GB, free: 5.789 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0008439/0.3198, allocations: 312.1 kB / 1.372 GB, free: 5.48 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.3198, allocations: 55.34 kB / 1.372 GB, free: 5.414 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.3201, allocations: 249.9 kB / 1.372 GB, free: 5.16 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.3201, allocations: 29.64 kB / 1.372 GB, free: 5.125 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.344e-05/0.3202, allocations: 136.1 kB / 1.372 GB, free: 4.988 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.187e-05/0.3202, allocations: 47.59 kB / 1.372 GB, free: 4.941 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.441e-05/0.3203, allocations: 29.7 kB / 1.372 GB, free: 4.906 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.3205, allocations: 338.8 kB / 1.373 GB, free: 4.566 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/0.3207, allocations: 75.94 kB / 1.373 GB, free: 4.492 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.3209, allocations: 79.92 kB / 1.373 GB, free: 4.414 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004462/0.3213, allocations: 171.5 kB / 1.373 GB, free: 4.246 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3213, allocations: 3.938 kB / 1.373 GB, free: 4.242 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000538/0.3219, allocations: 233.4 kB / 1.373 GB, free: 4.008 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3219, allocations: 7.938 kB / 1.373 GB, free: 4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3219, allocations: 4 kB / 1.373 GB, free: 3.996 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.3219, allocations: 0 / 1.373 GB, free: 3.996 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.3222, allocations: 39.95 kB / 1.373 GB, free: 3.957 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.3222, allocations: 0 / 1.373 GB, free: 3.957 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.3224, allocations: 15.92 kB / 1.373 GB, free: 3.941 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.3224, allocations: 11.92 kB / 1.373 GB, free: 3.93 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.000128/0.3225, allocations: 141.8 kB / 1.373 GB, free: 3.781 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.3226, allocations: 23.81 kB / 1.373 GB, free: 3.758 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.78e-05/0.3226, allocations: 29.77 kB / 1.373 GB, free: 3.727 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3226, allocations: 4 kB / 1.373 GB, free: 3.723 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3226, allocations: 0 / 1.373 GB, free: 3.723 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.3226, allocations: 0 / 1.373 GB, free: 3.723 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.3229, allocations: 232.5 kB / 1.374 GB, free: 3.453 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3229, allocations: 4 kB / 1.374 GB, free: 3.449 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.3231, allocations: 35.95 kB / 1.374 GB, free: 3.414 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3231, allocations: 4 kB / 1.374 GB, free: 3.41 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.3232, allocations: 0 / 1.374 GB, free: 3.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3232, allocations: 4 kB / 1.374 GB, free: 3.406 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3232, allocations: 0 / 1.374 GB, free: 3.406 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005913/0.3238, allocations: 327.2 kB / 1.374 GB, free: 3.07 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.892e-05/0.3239, allocations: 43.72 kB / 1.374 GB, free: 3.027 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.3239, allocations: 15.94 kB / 1.374 GB, free: 3.012 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.3241, allocations: 15.92 kB / 1.374 GB, free: 2.996 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.093e-05/0.3241, allocations: 15.97 kB / 1.374 GB, free: 2.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.3242, allocations: 3.984 kB / 1.374 GB, free: 2.977 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001579/0.3243, allocations: 185.1 kB / 1.374 GB, free: 2.797 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3243, allocations: 0 / 1.374 GB, free: 2.797 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002538/0.3246, allocations: 36 kB / 1.374 GB, free: 2.762 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.0009115/0.3255, allocations: 0.8582 MB / 1.375 GB, free: 1.883 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005111/0.326, allocations: 179.8 kB / 1.375 GB, free: 1.707 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.326, allocations: 4 kB / 1.375 GB, free: 1.703 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002466/0.3262, allocations: 95.86 kB / 1.375 GB, free: 1.609 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.3266, allocations: 48.39 kB / 1.375 GB, free: 1.562 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003252/0.3299, allocations: 2.409 MB / 1.378 GB, free: 15.07 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.33, allocations: 136 kB / 1.378 GB, free: 14.92 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002015/0.3302, allocations: 57.38 kB / 1.378 GB, free: 14.87 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.3303, allocations: 63.41 kB / 1.378 GB, free: 14.8 MB / 1.076 GB Notification: Performance of SimCode: time 3.91e-07/0.3303, allocations: 0 / 1.378 GB, free: 14.8 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03156/0.3619, allocations: 5.499 MB / 1.383 GB, free: 9.508 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.79, allocations: 5.156 kB / 1.383 GB, free: 9.508 MB / 1.076 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable T1.y in file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv. Warning: Get data of variable T1.y from file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv failed! Error: Could not read variable T2.y in file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv. Warning: Get data of variable T2.y from file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv failed! Error: Could not read variable T3.y in file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv. Warning: Get data of variable T3.y from file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.967977239284664]