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.001444/0.001444, 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.001621/0.001621, 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.329/1.329, allocations: 230.6 MB / 256 MB, free: 7.988 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.951/2.951, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.001972/0.001972, allocations: 72.02 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2927, allocations: 180.2 MB / 1.353 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003134/0.2958, allocations: 1.917 MB / 1.355 GB, free: 6.523 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004564/0.3004, allocations: 3.69 MB / 1.358 GB, free: 2.82 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.798e-05/0.3005, allocations: 0 / 1.358 GB, free: 2.82 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006758/0.3011, allocations: 187.4 kB / 1.359 GB, free: 2.637 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.3013, allocations: 71.53 kB / 1.359 GB, free: 2.566 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001219/0.3015, allocations: 55.91 kB / 1.359 GB, free: 2.512 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004588/0.3019, allocations: 267.1 kB / 1.359 GB, free: 2.25 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.436e-05/0.302, allocations: 29.66 kB / 1.359 GB, free: 2.219 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.3021, allocations: 79.7 kB / 1.359 GB, free: 2.141 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.3023, allocations: 83.55 kB / 1.359 GB, free: 2.059 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.3023, allocations: 8 kB / 1.359 GB, free: 2.051 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.363e-05/0.3024, allocations: 39.91 kB / 1.359 GB, free: 2.012 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.085e-05/0.3025, allocations: 47.83 kB / 1.359 GB, free: 1.965 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.538e-05/0.3026, allocations: 83.48 kB / 1.359 GB, free: 1.883 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.3028, allocations: 203 kB / 1.359 GB, free: 1.684 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.3028, allocations: 0 / 1.359 GB, free: 1.684 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3028, allocations: 0 / 1.359 GB, free: 1.684 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.3028, allocations: 0 / 1.359 GB, free: 1.684 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.0007902/0.3036, allocations: 472.7 kB / 1.36 GB, free: 1.191 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.3036, allocations: 12.03 kB / 1.36 GB, free: 1.18 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.596e-05/0.3037, allocations: 42.72 kB / 1.36 GB, free: 1.129 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008276/0.3045, allocations: 120.7 kB / 1.36 GB, free: 1.012 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004726/0.305, allocations: 201.5 kB / 1.36 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.305, allocations: 8.375 kB / 1.36 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.305, allocations: 4.375 kB / 1.36 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.3054, allocations: 167.1 kB / 1.36 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.3054, allocations: 0 / 1.36 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.3054, allocations: 0 / 1.36 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.536e-05/0.3054, allocations: 11.94 kB / 1.36 GB, free: 0.5938 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004317/0.3058, allocations: 151.9 kB / 1.361 GB, free: 456 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007115/0.3066, allocations: 427.6 kB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004187/0.307, allocations: 178.4 kB / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.3072, allocations: 100.8 kB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.3072, allocations: 3.984 kB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.3073, allocations: 38.5 kB / 1.361 GB, free: 15.65 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.3073, allocations: 4 kB / 1.361 GB, free: 15.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0008206/0.3081, allocations: 304.3 kB / 1.362 GB, free: 15.34 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.3081, allocations: 55.41 kB / 1.362 GB, free: 15.28 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002315/0.3084, allocations: 249.9 kB / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.3084, allocations: 25.7 kB / 1.362 GB, free: 14.99 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.456e-05/0.3085, allocations: 136.1 kB / 1.362 GB, free: 14.86 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.628e-05/0.3085, allocations: 43.64 kB / 1.362 GB, free: 14.81 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.225e-05/0.3086, allocations: 29.7 kB / 1.362 GB, free: 14.78 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3087, allocations: 342.7 kB / 1.362 GB, free: 14.43 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.309, allocations: 75.94 kB / 1.362 GB, free: 14.36 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.3092, allocations: 79.92 kB / 1.363 GB, free: 14.28 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004431/0.3096, allocations: 171 kB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3096, allocations: 4 kB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005335/0.3102, allocations: 233.3 kB / 1.363 GB, free: 13.88 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3102, allocations: 8 kB / 1.363 GB, free: 13.87 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3102, allocations: 0 / 1.363 GB, free: 13.87 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3102, allocations: 0 / 1.363 GB, free: 13.87 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.3105, allocations: 43.89 kB / 1.363 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.3105, allocations: 0 / 1.363 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.3106, allocations: 15.92 kB / 1.363 GB, free: 13.81 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.3107, allocations: 11.94 kB / 1.363 GB, free: 13.8 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.0001269/0.3108, allocations: 142.4 kB / 1.363 GB, free: 13.65 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/0.3108, allocations: 19.86 kB / 1.363 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.802e-05/0.3109, allocations: 33.77 kB / 1.363 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3109, allocations: 8 kB / 1.363 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3109, allocations: 4 kB / 1.363 GB, free: 13.58 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.3109, allocations: 0 / 1.363 GB, free: 13.58 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002971/0.3112, allocations: 244.5 kB / 1.363 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3112, allocations: 0 / 1.363 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.3115, allocations: 43.89 kB / 1.364 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3115, allocations: 0 / 1.364 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.3115, allocations: 0 / 1.364 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3115, allocations: 7.938 kB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3115, allocations: 0 / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005805/0.3121, allocations: 331.2 kB / 1.364 GB, free: 12.91 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.439e-05/0.3121, allocations: 39.77 kB / 1.364 GB, free: 12.87 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.3122, allocations: 4 kB / 1.364 GB, free: 12.87 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.3124, allocations: 15.98 kB / 1.364 GB, free: 12.85 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.3124, allocations: 15.97 kB / 1.364 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.3124, allocations: 4 kB / 1.364 GB, free: 12.83 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001587/0.3126, allocations: 181.1 kB / 1.364 GB, free: 12.65 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3126, allocations: 3.938 kB / 1.364 GB, free: 12.65 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002603/0.3129, allocations: 36 kB / 1.364 GB, free: 12.61 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.0008657/0.3137, allocations: 0.8588 MB / 1.365 GB, free: 11.73 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005073/0.3142, allocations: 187.8 kB / 1.365 GB, free: 11.55 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3142, allocations: 0 / 1.365 GB, free: 11.55 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002465/0.3145, allocations: 91.86 kB / 1.365 GB, free: 11.46 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.3149, allocations: 61.88 kB / 1.365 GB, free: 11.4 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00323/0.3181, allocations: 2.408 MB / 1.368 GB, free: 8.914 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.3185, allocations: 0.7435 MB / 1.368 GB, free: 8.145 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001963/0.3187, allocations: 57.39 kB / 1.368 GB, free: 8.086 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.3188, allocations: 67.41 kB / 1.368 GB, free: 8.023 MB / 1.061 GB Notification: Performance of SimCode: time 2.7e-07/0.3188, allocations: 0 / 1.368 GB, free: 8.023 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03161/0.3504, allocations: 4.936 MB / 1.373 GB, free: 3.258 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/10.57, allocations: 11.64 kB / 1.373 GB, free: 3.254 MB / 1.061 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.58488113596104]