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.00171/0.00171, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.002021/0.002021, allocations: 215 kB / 20.13 MB, free: 2.949 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.402/1.402, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.733/2.733, allocations: 0.49 GB / 0.7923 GB, free: 1.41 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.001914/0.001914, allocations: 75.89 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8438/0.8457, allocations: 176.1 MB / 1.321 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002462/0.8482, allocations: 1.919 MB / 1.323 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003064/0.8513, allocations: 3.719 MB / 1.327 GB, free: 20.75 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.8514, allocations: 2.562 kB / 1.327 GB, free: 20.75 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006907/0.8521, allocations: 195.2 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.8522, allocations: 74.33 kB / 1.327 GB, free: 20.62 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000112/0.8523, allocations: 60.98 kB / 1.327 GB, free: 20.58 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000392/0.8527, allocations: 272.2 kB / 1.328 GB, free: 20.48 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.294e-05/0.8528, allocations: 23.05 kB / 1.328 GB, free: 20.47 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.8529, allocations: 84.8 kB / 1.328 GB, free: 20.43 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.8531, allocations: 83.47 kB / 1.328 GB, free: 20.39 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.8531, allocations: 7.375 kB / 1.328 GB, free: 20.39 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.601e-05/0.8532, allocations: 36.88 kB / 1.328 GB, free: 20.38 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.091e-05/0.8533, allocations: 57.48 kB / 1.328 GB, free: 20.36 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.519e-05/0.8534, allocations: 89.7 kB / 1.328 GB, free: 20.3 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.8536, allocations: 210 kB / 1.328 GB, free: 20.21 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.8536, allocations: 1.062 kB / 1.328 GB, free: 20.21 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.033e-06/0.8536, allocations: 0 / 1.328 GB, free: 20.21 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.8536, allocations: 0 / 1.328 GB, free: 20.21 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.0007728/0.8544, allocations: 0.5486 MB / 1.329 GB, free: 19.73 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.8544, allocations: 13.83 kB / 1.329 GB, free: 19.73 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.344e-05/0.8545, allocations: 2.031 kB / 1.329 GB, free: 19.73 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.75e-05/0.8545, allocations: 41.09 kB / 1.329 GB, free: 19.68 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000362/0.8548, allocations: 58.69 kB / 1.329 GB, free: 19.67 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/0.8552, allocations: 272.3 kB / 1.329 GB, free: 19.42 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.8552, allocations: 2.469 kB / 1.329 GB, free: 19.42 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.8553, allocations: 7.812 kB / 1.329 GB, free: 19.41 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003568/0.8556, allocations: 139.6 kB / 1.329 GB, free: 19.36 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.8556, allocations: 3.938 kB / 1.329 GB, free: 19.35 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.8557, allocations: 5.062 kB / 1.329 GB, free: 19.35 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.163e-05/0.8557, allocations: 15.02 kB / 1.329 GB, free: 19.34 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004386/0.8561, allocations: 147 kB / 1.329 GB, free: 19.31 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006302/0.8568, allocations: 458.1 kB / 1.33 GB, free: 18.97 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004096/0.8572, allocations: 161 kB / 1.33 GB, free: 18.9 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002517/0.8574, allocations: 102.5 kB / 1.33 GB, free: 18.87 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.8574, allocations: 2.312 kB / 1.33 GB, free: 18.87 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.8575, allocations: 39.16 kB / 1.33 GB, free: 18.82 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.8575, allocations: 1.438 kB / 1.33 GB, free: 18.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.000845/0.8583, allocations: 301.3 kB / 1.33 GB, free: 18.71 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/0.8583, allocations: 57.16 kB / 1.33 GB, free: 18.65 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.8586, allocations: 251.2 kB / 1.331 GB, free: 18.5 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.8586, allocations: 30.36 kB / 1.331 GB, free: 18.46 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.801e-05/0.8586, allocations: 140.7 kB / 1.331 GB, free: 18.34 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.8587, allocations: 45.3 kB / 1.331 GB, free: 18.3 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-05/0.8587, allocations: 27.41 kB / 1.331 GB, free: 18.29 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.192e-05/0.8588, allocations: 344.9 kB / 1.331 GB, free: 17.95 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002416/0.859, allocations: 73.72 kB / 1.331 GB, free: 17.94 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.8593, allocations: 74.09 kB / 1.331 GB, free: 17.92 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004574/0.8597, allocations: 165.2 kB / 1.332 GB, free: 17.87 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.8597, allocations: 0 / 1.332 GB, free: 17.87 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005423/0.8603, allocations: 226.4 kB / 1.332 GB, free: 17.78 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.8603, allocations: 8.875 kB / 1.332 GB, free: 17.78 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.8603, allocations: 0.5625 kB / 1.332 GB, free: 17.78 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.8603, allocations: 1.219 kB / 1.332 GB, free: 17.78 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.8606, allocations: 37.23 kB / 1.332 GB, free: 17.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.8606, allocations: 0.6562 kB / 1.332 GB, free: 17.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.8607, allocations: 17.91 kB / 1.332 GB, free: 17.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.8607, allocations: 7.812 kB / 1.332 GB, free: 17.77 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 9.231e-05/0.8608, allocations: 142.5 kB / 1.332 GB, free: 17.64 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/0.8609, allocations: 24.59 kB / 1.332 GB, free: 17.62 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.88e-05/0.8609, allocations: 32.34 kB / 1.332 GB, free: 17.61 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.8609, allocations: 5.094 kB / 1.332 GB, free: 17.6 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.861, allocations: 0 / 1.332 GB, free: 17.6 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.861, allocations: 6.016 kB / 1.332 GB, free: 17.6 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.8612, allocations: 272.3 kB / 1.332 GB, free: 17.37 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.8612, allocations: 0.8125 kB / 1.332 GB, free: 17.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.8614, allocations: 41.62 kB / 1.332 GB, free: 17.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.8614, allocations: 5.406 kB / 1.332 GB, free: 17.36 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.8615, allocations: 6.172 kB / 1.332 GB, free: 17.35 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.8615, allocations: 1.531 kB / 1.332 GB, free: 17.35 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8615, allocations: 0.5 kB / 1.332 GB, free: 17.35 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005599/0.862, allocations: 319.4 kB / 1.333 GB, free: 17.16 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.933e-05/0.8621, allocations: 117.7 kB / 1.333 GB, free: 17.05 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.8621, allocations: 1.969 kB / 1.333 GB, free: 17.05 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.8623, allocations: 12.38 kB / 1.333 GB, free: 17.05 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.8624, allocations: 17.89 kB / 1.333 GB, free: 17.04 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.8624, allocations: 7.062 kB / 1.333 GB, free: 17.04 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001452/0.8625, allocations: 185.9 kB / 1.333 GB, free: 16.93 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.8625, allocations: 4 kB / 1.333 GB, free: 16.93 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002765/0.8628, allocations: 43.19 kB / 1.333 GB, free: 16.92 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.0007511/0.8636, allocations: 0.8545 MB / 1.334 GB, free: 16.2 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005352/0.8641, allocations: 173.5 kB / 1.334 GB, free: 16.16 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.8641, allocations: 0 / 1.334 GB, free: 16.16 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002491/0.8643, allocations: 97.03 kB / 1.334 GB, free: 16.13 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.8648, allocations: 58.17 kB / 1.334 GB, free: 16.11 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.868, allocations: 2.443 MB / 1.337 GB, free: 14.51 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.8682, allocations: 0.748 MB / 1.337 GB, free: 13.8 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000195/0.8684, allocations: 56.27 kB / 1.337 GB, free: 13.79 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.8685, allocations: 59.69 kB / 1.337 GB, free: 13.75 MB / 1.061 GB Notification: Performance of SimCode: time 4.61e-07/0.8685, allocations: 0.5312 kB / 1.337 GB, free: 13.75 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02278/0.8913, allocations: 5.029 MB / 1.342 GB, free: 13.15 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.541/9.433, allocations: 10.17 kB / 1.342 GB, free: 13.14 MB / 1.061 GB " [Timeout remaining time 290] (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: 15.354876719007734]