Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 108.2 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.555/2.555, allocations: 443.5 MB / 0.7287 GB, free: 13.19 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 63.91 kB / 1.056 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8386/0.8406, allocations: 160.7 MB / 1.213 GB, free: 3.91 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.004162/0.8447, allocations: 1.928 MB / 1.215 GB, free: 2.398 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005224/0.8499, allocations: 3.47 MB / 1.218 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.8501, allocations: 0.9375 kB / 1.218 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003464/0.8505, allocations: 57.92 kB / 1.218 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005958/0.8511, allocations: 131.9 kB / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001066/0.8512, allocations: 28.08 kB / 1.218 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003472/0.8515, allocations: 167.1 kB / 1.219 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.8517, allocations: 18.77 kB / 1.219 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002155/0.8519, allocations: 85.81 kB / 1.219 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.852, allocations: 79.97 kB / 1.219 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.8521, allocations: 9.375 kB / 1.219 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.8522, allocations: 30.98 kB / 1.219 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.014e-05/0.8523, allocations: 39.17 kB / 1.219 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.8524, allocations: 78.06 kB / 1.219 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003311/0.8527, allocations: 170.1 kB / 1.219 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.8527, allocations: 0 / 1.219 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8527, allocations: 0 / 1.219 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.8527, allocations: 1.531 kB / 1.219 GB, free: 14.98 MB / 0.9356 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.00102/0.8537, allocations: 0.5016 MB / 1.22 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.8538, allocations: 10 kB / 1.22 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.987e-05/0.8538, allocations: 37.5 kB / 1.22 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.779e-05/0.8539, allocations: 21.52 kB / 1.22 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004208/0.8543, allocations: 239.9 kB / 1.22 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.8543, allocations: 5.875 kB / 1.22 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.8544, allocations: 11.78 kB / 1.22 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003794/0.8547, allocations: 137.5 kB / 1.22 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.8547, allocations: 7.938 kB / 1.22 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.8548, allocations: 5.406 kB / 1.22 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.277e-05/0.8548, allocations: 7.969 kB / 1.22 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004428/0.8552, allocations: 137 kB / 1.22 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008326/0.8561, allocations: 447.3 kB / 1.221 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004478/0.8565, allocations: 162.2 kB / 1.221 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002624/0.8568, allocations: 93.25 kB / 1.221 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.8568, allocations: 1.25 kB / 1.221 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/0.8569, allocations: 39.83 kB / 1.221 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.8569, allocations: 4 kB / 1.221 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0008494/0.8577, allocations: 275.1 kB / 1.221 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.8578, allocations: 57.19 kB / 1.221 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.858, allocations: 217.1 kB / 1.221 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.858, allocations: 26.89 kB / 1.221 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.8581, allocations: 119.1 kB / 1.221 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.808e-05/0.8582, allocations: 49.7 kB / 1.222 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.261e-05/0.8583, allocations: 31.42 kB / 1.222 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.8585, allocations: 331.2 kB / 1.222 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/0.8587, allocations: 77.86 kB / 1.222 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.8589, allocations: 70.38 kB / 1.222 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004292/0.8593, allocations: 153.1 kB / 1.222 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8593, allocations: 5.125 kB / 1.222 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005457/0.8599, allocations: 210 kB / 1.222 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.8599, allocations: 5.656 kB / 1.222 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.8599, allocations: 0 / 1.222 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.8599, allocations: 1.062 kB / 1.222 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/0.8602, allocations: 36.5 kB / 1.222 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.8602, allocations: 0 / 1.222 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.8604, allocations: 24.86 kB / 1.222 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.8604, allocations: 6.25 kB / 1.222 GB, free: 12.23 MB / 0.9356 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.0001442/0.8605, allocations: 131.9 kB / 1.223 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.289e-05/0.8606, allocations: 21.23 kB / 1.223 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.372e-05/0.8606, allocations: 22.97 kB / 1.223 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.8606, allocations: 5.094 kB / 1.223 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.8607, allocations: 0 / 1.223 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.8607, allocations: 4.734 kB / 1.223 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003755/0.861, allocations: 259 kB / 1.223 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.861, allocations: 1.125 kB / 1.223 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.8612, allocations: 35.14 kB / 1.223 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.8612, allocations: 0.8125 kB / 1.223 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.8613, allocations: 5.469 kB / 1.223 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.8613, allocations: 0.7188 kB / 1.223 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.8613, allocations: 0.75 kB / 1.223 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006019/0.8619, allocations: 310.9 kB / 1.223 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.862, allocations: 115.8 kB / 1.223 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.527e-05/0.862, allocations: 5.219 kB / 1.223 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.8622, allocations: 18.73 kB / 1.223 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.8623, allocations: 8.609 kB / 1.223 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.8623, allocations: 7.297 kB / 1.223 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001598/0.8624, allocations: 154.7 kB / 1.224 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.8624, allocations: 1.094 kB / 1.224 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002776/0.8627, allocations: 38.39 kB / 1.224 GB, free: 11.29 MB / 0.9356 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.001055/0.8638, allocations: 0.8516 MB / 1.224 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005337/0.8643, allocations: 158.2 kB / 1.225 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8643, allocations: 0 / 1.225 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002491/0.8646, allocations: 91.8 kB / 1.225 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004717/0.865, allocations: 29.84 kB / 1.225 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00354/0.8686, allocations: 2.253 MB / 1.227 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.869, allocations: 0.735 MB / 1.228 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001711/0.8692, allocations: 50.77 kB / 1.228 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.8693, allocations: 46.36 kB / 1.228 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.8693, allocations: 0 / 1.228 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/0.8966, allocations: 3.788 MB / 1.231 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.798, allocations: 14.44 kB / 1.231 GB, free: 5 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.53766132099554]