Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.001904/0.001904, allocations: 107 kB / 16.46 MB, free: 6.035 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.00217/0.00217, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.416/1.416, 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 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.037/3.037, allocations: 497.2 MB / 0.7811 GB, free: 33.79 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.EN12975HeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 71.77 kB / 1.134 GB, free: 33.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3034, allocations: 173.9 MB / 1.304 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003246/0.3066, allocations: 1.888 MB / 1.306 GB, free: 15.63 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005102/0.3117, allocations: 3.622 MB / 1.309 GB, free: 11.99 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.3119, allocations: 0 / 1.309 GB, free: 11.99 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009263/0.3128, allocations: 191.4 kB / 1.31 GB, free: 11.8 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002409/0.3131, allocations: 75.53 kB / 1.31 GB, free: 11.73 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.905e-05/0.3131, allocations: 27.91 kB / 1.31 GB, free: 11.7 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004973/0.3136, allocations: 267.1 kB / 1.31 GB, free: 11.44 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.3137, allocations: 25.53 kB / 1.31 GB, free: 11.41 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.3139, allocations: 75.69 kB / 1.31 GB, free: 11.34 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.314, allocations: 87.61 kB / 1.31 GB, free: 11.25 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.3141, allocations: 8 kB / 1.31 GB, free: 11.24 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.162e-05/0.3141, allocations: 27.92 kB / 1.31 GB, free: 11.21 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.303e-05/0.3142, allocations: 55.81 kB / 1.31 GB, free: 11.16 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.3143, allocations: 83.47 kB / 1.31 GB, free: 11.08 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.3146, allocations: 191 kB / 1.31 GB, free: 10.89 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.3146, allocations: 0 / 1.31 GB, free: 10.89 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.297e-06/0.3146, allocations: 8 kB / 1.31 GB, free: 10.88 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.3146, allocations: 0 / 1.31 GB, free: 10.88 MB / 1.014 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.0009789/0.3156, allocations: 0.5369 MB / 1.311 GB, free: 10.3 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3156, allocations: 8.922 kB / 1.311 GB, free: 10.29 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.747e-05/0.3157, allocations: 38.75 kB / 1.311 GB, free: 10.24 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.728e-05/0.3157, allocations: 24.78 kB / 1.311 GB, free: 10.22 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.3161, allocations: 247.9 kB / 1.311 GB, free: 9.938 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.754e-06/0.3161, allocations: 4.359 kB / 1.311 GB, free: 9.934 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.3162, allocations: 8.312 kB / 1.311 GB, free: 9.926 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003566/0.3165, allocations: 149.5 kB / 1.311 GB, free: 9.773 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.3165, allocations: 0 / 1.311 GB, free: 9.773 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.3165, allocations: 3.984 kB / 1.311 GB, free: 9.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.3166, allocations: 8 kB / 1.311 GB, free: 9.762 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004386/0.317, allocations: 147.8 kB / 1.312 GB, free: 9.617 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007605/0.3178, allocations: 464.5 kB / 1.312 GB, free: 9.113 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004263/0.3182, allocations: 173.8 kB / 1.312 GB, free: 8.938 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.3184, allocations: 92.78 kB / 1.312 GB, free: 8.844 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.3185, allocations: 8 kB / 1.312 GB, free: 8.836 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.3185, allocations: 38.56 kB / 1.312 GB, free: 8.789 MB / 1.014 GB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.3185, allocations: 0 / 1.312 GB, free: 8.789 MB / 1.014 GB Notification: Performance of matching and sorting (n=13): time 0.000843/0.3193, allocations: 293.6 kB / 1.313 GB, free: 8.496 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.3194, allocations: 63.34 kB / 1.313 GB, free: 8.422 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.3196, allocations: 242.7 kB / 1.313 GB, free: 8.18 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.3196, allocations: 25.7 kB / 1.313 GB, free: 8.148 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.583e-05/0.3197, allocations: 132.1 kB / 1.313 GB, free: 8.016 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.299e-05/0.3198, allocations: 51.62 kB / 1.313 GB, free: 7.965 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.213e-05/0.3198, allocations: 29.7 kB / 1.313 GB, free: 7.93 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.32, allocations: 334.8 kB / 1.313 GB, free: 7.594 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.3202, allocations: 75.92 kB / 1.313 GB, free: 7.52 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.3204, allocations: 75.94 kB / 1.314 GB, free: 7.445 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004407/0.3209, allocations: 172.7 kB / 1.314 GB, free: 7.273 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3209, allocations: 0 / 1.314 GB, free: 7.273 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005381/0.3214, allocations: 224 kB / 1.314 GB, free: 7.051 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3214, allocations: 7.938 kB / 1.314 GB, free: 7.043 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3214, allocations: 0 / 1.314 GB, free: 7.043 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3214, allocations: 4 kB / 1.314 GB, free: 7.039 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.3217, allocations: 31.97 kB / 1.314 GB, free: 7.008 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.3217, allocations: 4 kB / 1.314 GB, free: 7.004 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.3219, allocations: 19.92 kB / 1.314 GB, free: 6.984 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.3219, allocations: 11.92 kB / 1.314 GB, free: 6.973 MB / 1.014 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.0001375/0.322, allocations: 133.8 kB / 1.314 GB, free: 6.832 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.3221, allocations: 19.86 kB / 1.314 GB, free: 6.812 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.603e-05/0.3222, allocations: 37.83 kB / 1.314 GB, free: 6.77 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.3222, allocations: 4 kB / 1.314 GB, free: 6.766 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3222, allocations: 0 / 1.314 GB, free: 6.766 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3222, allocations: 0 / 1.314 GB, free: 6.766 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003387/0.3225, allocations: 273.4 kB / 1.314 GB, free: 6.449 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3225, allocations: 0 / 1.314 GB, free: 6.449 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.3227, allocations: 35.95 kB / 1.314 GB, free: 6.414 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.3227, allocations: 0 / 1.314 GB, free: 6.414 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.3228, allocations: 7.938 kB / 1.314 GB, free: 6.406 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3228, allocations: 4 kB / 1.315 GB, free: 6.402 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3228, allocations: 0 / 1.315 GB, free: 6.402 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005989/0.3234, allocations: 323.2 kB / 1.315 GB, free: 6.07 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.3235, allocations: 112.9 kB / 1.315 GB, free: 5.941 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.3235, allocations: 11.94 kB / 1.315 GB, free: 5.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.3237, allocations: 15.97 kB / 1.315 GB, free: 5.914 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.3238, allocations: 11.98 kB / 1.315 GB, free: 5.902 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.3238, allocations: 4 kB / 1.315 GB, free: 5.898 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001683/0.324, allocations: 181.9 kB / 1.315 GB, free: 5.723 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.324, allocations: 0 / 1.315 GB, free: 5.723 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002849/0.3242, allocations: 40 kB / 1.315 GB, free: 5.684 MB / 1.014 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.0009797/0.3252, allocations: 0.868 MB / 1.316 GB, free: 4.793 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005318/0.3258, allocations: 171.9 kB / 1.316 GB, free: 4.625 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3258, allocations: 0 / 1.316 GB, free: 4.625 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.326, allocations: 91.8 kB / 1.316 GB, free: 4.535 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004984/0.3265, allocations: 52.53 kB / 1.316 GB, free: 4.484 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/0.3299, allocations: 2.406 MB / 1.319 GB, free: 2.004 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.3303, allocations: 0.7473 MB / 1.319 GB, free: 1.23 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001845/0.3305, allocations: 53.36 kB / 1.319 GB, free: 1.18 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.3306, allocations: 67.41 kB / 1.32 GB, free: 1.113 MB / 1.014 GB Notification: Performance of SimCode: time 6.51e-07/0.3306, allocations: 0 / 1.32 GB, free: 1.113 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/0.3594, allocations: 4.879 MB / 1.324 GB, free: 12.42 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/8.624, allocations: 5.062 kB / 1.324 GB, free: 12.42 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 14.914829562883824]