Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001337/0.001337, allocations: 110.5 kB / 16.46 MB, free: 6.453 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.001368/0.001368, allocations: 195.8 kB / 19.41 MB, free: 3.645 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.461/1.461, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.771/2.771, allocations: 476.7 MB / 0.7611 GB, free: 11.34 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 75.83 kB / 1.104 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8963/0.8984, allocations: 168.7 MB / 1.269 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003807/0.9022, allocations: 1.915 MB / 1.271 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004665/0.9069, allocations: 3.466 MB / 1.274 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.907, allocations: 0 / 1.274 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002876/0.9073, allocations: 63.55 kB / 1.274 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005142/0.9078, allocations: 131.3 kB / 1.274 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.907e-05/0.9079, allocations: 19.97 kB / 1.274 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002947/0.9082, allocations: 179.1 kB / 1.274 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.9083, allocations: 17.69 kB / 1.274 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.9085, allocations: 87.62 kB / 1.274 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.9087, allocations: 79.62 kB / 1.275 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.9087, allocations: 8 kB / 1.275 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.179e-05/0.9088, allocations: 35.91 kB / 1.275 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.243e-05/0.9089, allocations: 39.84 kB / 1.275 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.706e-05/0.909, allocations: 75.53 kB / 1.275 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.9092, allocations: 163.1 kB / 1.275 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.9092, allocations: 0 / 1.275 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.492e-06/0.9092, allocations: 0 / 1.275 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.9093, allocations: 4 kB / 1.275 GB, free: 14.88 MB / 0.9825 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.0009083/0.9102, allocations: 0.5061 MB / 1.275 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.9102, allocations: 12.03 kB / 1.275 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.106e-05/0.9103, allocations: 38.72 kB / 1.275 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.9103, allocations: 20.84 kB / 1.275 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.9107, allocations: 247 kB / 1.276 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.9107, allocations: 4.359 kB / 1.276 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.9107, allocations: 4.375 kB / 1.276 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003597/0.9111, allocations: 145.4 kB / 1.276 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.9111, allocations: 3.938 kB / 1.276 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.9111, allocations: 4 kB / 1.276 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/0.9111, allocations: 4 kB / 1.276 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004238/0.9115, allocations: 139.9 kB / 1.276 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007529/0.9123, allocations: 448.5 kB / 1.276 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003978/0.9127, allocations: 154.5 kB / 1.277 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/0.913, allocations: 99.03 kB / 1.277 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.913, allocations: 0 / 1.277 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.913, allocations: 30.56 kB / 1.277 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.913, allocations: 0 / 1.277 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.000813/0.9138, allocations: 281.6 kB / 1.277 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.9139, allocations: 55.41 kB / 1.277 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.9141, allocations: 209 kB / 1.277 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.9141, allocations: 29.7 kB / 1.277 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.426e-05/0.9142, allocations: 124.1 kB / 1.277 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.204e-05/0.9143, allocations: 51.56 kB / 1.277 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.074e-05/0.9143, allocations: 29.7 kB / 1.277 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.9145, allocations: 330.8 kB / 1.278 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/0.9147, allocations: 75.92 kB / 1.278 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.9149, allocations: 67.94 kB / 1.278 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004254/0.9153, allocations: 159.6 kB / 1.278 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.9153, allocations: 7.875 kB / 1.278 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005131/0.9159, allocations: 209.4 kB / 1.278 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.9159, allocations: 8 kB / 1.278 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.9159, allocations: 3.984 kB / 1.278 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.9159, allocations: 0 / 1.278 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.9161, allocations: 35.97 kB / 1.278 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.9161, allocations: 0 / 1.278 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.9163, allocations: 23.97 kB / 1.278 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.9163, allocations: 7.938 kB / 1.278 GB, free: 11.14 MB / 0.9825 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.0001249/0.9164, allocations: 129.8 kB / 1.278 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/0.9165, allocations: 19.86 kB / 1.278 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.476e-05/0.9165, allocations: 21.84 kB / 1.278 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.9165, allocations: 4 kB / 1.278 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.581e-05/0.9165, allocations: 0 / 1.278 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.9166, allocations: 3.984 kB / 1.278 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.9169, allocations: 257.4 kB / 1.279 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.9169, allocations: 4 kB / 1.279 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.9171, allocations: 39.95 kB / 1.279 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.9171, allocations: 0 / 1.279 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.9171, allocations: 0 / 1.279 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.9171, allocations: 0 / 1.279 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.9171, allocations: 0 / 1.279 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000575/0.9177, allocations: 319.2 kB / 1.279 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.9178, allocations: 116.9 kB / 1.279 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.9178, allocations: 3.984 kB / 1.279 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.918, allocations: 15.98 kB / 1.279 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.918, allocations: 7.984 kB / 1.279 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.9181, allocations: 15.98 kB / 1.279 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001424/0.9182, allocations: 156.4 kB / 1.279 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9182, allocations: 0 / 1.279 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002628/0.9185, allocations: 32 kB / 1.279 GB, free: 9.922 MB / 0.9825 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.0009509/0.9194, allocations: 0.8527 MB / 1.28 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004943/0.9199, allocations: 163.9 kB / 1.28 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.9199, allocations: 7.938 kB / 1.28 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002291/0.9201, allocations: 79.94 kB / 1.28 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.9206, allocations: 31.34 kB / 1.28 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003322/0.9239, allocations: 2.257 MB / 1.283 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.9242, allocations: 0.7236 MB / 1.283 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001771/0.9244, allocations: 48.59 kB / 1.283 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.9245, allocations: 55.41 kB / 1.283 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of SimCode: time 7.61e-07/0.9245, allocations: 4 kB / 1.283 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02702/0.9515, allocations: 3.782 MB / 1.287 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.09/9.041, allocations: 28.39 kB / 1.287 GB, free: 1.945 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.1362345488742]