Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.001106/0.001106, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001207/0.001207, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9308/0.9308, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.729/1.729, allocations: 359 MB / 0.6037 GB, free: 11.06 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.ASHRAESolarGain,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.9505 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/2.051e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.461 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002349/0.00237, allocations: 2.076 MB / 0.9525 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.003348/0.005718, allocations: 3.658 MB / 0.9561 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.005833, allocations: 3.938 kB / 0.9561 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.00608, allocations: 63.52 kB / 0.9562 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003309/0.006411, allocations: 123 kB / 0.9563 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.0068, allocations: 199.4 kB / 0.9565 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003471/0.007147, allocations: 338.7 kB / 0.9568 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.007258, allocations: 32.92 kB / 0.9568 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002702/0.007529, allocations: 187.5 kB / 0.957 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.007643, allocations: 111.7 kB / 0.9571 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.007671, allocations: 24 kB / 0.9571 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.007862, allocations: 119.8 kB / 0.9572 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.608e-05/0.007918, allocations: 67.73 kB / 0.9573 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.167e-05/0.00799, allocations: 79.75 kB / 0.9574 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003372/0.008327, allocations: 382.7 kB / 0.9578 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.008332, allocations: 4 kB / 0.9578 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.453e-06/0.008333, allocations: 3.938 kB / 0.9578 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.008339, allocations: 0 / 0.9578 GB, free: 11.98 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007613/0.0091, allocations: 0.5784 MB / 0.9583 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.009138, allocations: 8.031 kB / 0.9583 GB, free: 11.37 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.717e-05/0.009175, allocations: 42.73 kB / 0.9584 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006498/0.009825, allocations: 228.5 kB / 0.9586 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005176/0.01034, allocations: 281.8 kB / 0.9589 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.01035, allocations: 8.562 kB / 0.9589 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.01038, allocations: 12.38 kB / 0.9589 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003883/0.01076, allocations: 235.5 kB / 0.9591 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.01077, allocations: 0 / 0.9591 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.01079, allocations: 0 / 0.9591 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.01079, allocations: 0 / 0.9591 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005104/0.0113, allocations: 283.7 kB / 0.9594 GB, free: 10.26 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007945/0.0121, allocations: 0.5113 MB / 0.9599 GB, free: 9.703 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.0124, allocations: 162.4 kB / 0.96 GB, free: 9.535 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002578/0.01266, allocations: 149 kB / 0.9602 GB, free: 9.387 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003461/0.01301, allocations: 107.9 kB / 0.9603 GB, free: 9.281 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.01303, allocations: 30.56 kB / 0.9603 GB, free: 9.242 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.01303, allocations: 0 / 0.9603 GB, free: 9.242 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.00094/0.01397, allocations: 491.3 kB / 0.9608 GB, free: 8.758 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.014, allocations: 55.41 kB / 0.9608 GB, free: 8.691 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.0142, allocations: 276.6 kB / 0.9611 GB, free: 8.414 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.01423, allocations: 25.7 kB / 0.9611 GB, free: 8.383 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.735e-05/0.01431, allocations: 156 kB / 0.9613 GB, free: 8.227 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.01435, allocations: 47.64 kB / 0.9613 GB, free: 8.18 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.062e-05/0.01442, allocations: 37.69 kB / 0.9613 GB, free: 8.137 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.01452, allocations: 342.8 kB / 0.9617 GB, free: 7.793 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/0.01479, allocations: 143.9 kB / 0.9618 GB, free: 7.652 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.01505, allocations: 146.5 kB / 0.9619 GB, free: 7.512 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005087/0.01556, allocations: 296.5 kB / 0.9622 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01556, allocations: 0 / 0.9622 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005881/0.01615, allocations: 379.7 kB / 0.9626 GB, free: 6.844 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.01616, allocations: 4 kB / 0.9626 GB, free: 6.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01617, allocations: 0 / 0.9626 GB, free: 6.84 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.01619, allocations: 3.984 kB / 0.9626 GB, free: 6.836 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.0164, allocations: 63.92 kB / 0.9627 GB, free: 6.773 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.01641, allocations: 0 / 0.9627 GB, free: 6.773 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.01655, allocations: 51.84 kB / 0.9627 GB, free: 6.723 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.01657, allocations: 7.984 kB / 0.9627 GB, free: 6.715 MB / 0.9167 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 (17): * Single equations (assignments): 17 * 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.0001006/0.01667, allocations: 133.7 kB / 0.9628 GB, free: 6.574 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.0167, allocations: 27.81 kB / 0.9629 GB, free: 6.547 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006498/0.01735, allocations: 388 kB / 0.9632 GB, free: 6.156 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.01735, allocations: 0 / 0.9632 GB, free: 6.156 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.01736, allocations: 0 / 0.9632 GB, free: 6.156 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.01736, allocations: 4 kB / 0.9632 GB, free: 6.152 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.01757, allocations: 248.5 kB / 0.9635 GB, free: 5.867 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01757, allocations: 0 / 0.9635 GB, free: 5.867 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.01774, allocations: 75.83 kB / 0.9636 GB, free: 5.793 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01774, allocations: 0 / 0.9636 GB, free: 5.793 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.01776, allocations: 4 kB / 0.9636 GB, free: 5.789 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01776, allocations: 0 / 0.9636 GB, free: 5.789 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01776, allocations: 0 / 0.9636 GB, free: 5.789 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000582/0.01834, allocations: 455 kB / 0.964 GB, free: 5.328 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.914e-05/0.01841, allocations: 47.72 kB / 0.964 GB, free: 5.281 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.01844, allocations: 8 kB / 0.964 GB, free: 5.273 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.01858, allocations: 39.94 kB / 0.9641 GB, free: 5.234 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.01864, allocations: 15.97 kB / 0.9641 GB, free: 5.219 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.01865, allocations: 8 kB / 0.9641 GB, free: 5.211 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001252/0.01878, allocations: 195.1 kB / 0.9643 GB, free: 5.02 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.5e-07/0.01878, allocations: 0 / 0.9643 GB, free: 5.02 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002479/0.01903, allocations: 67.88 kB / 0.9644 GB, free: 4.953 MB / 0.9167 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.0009004/0.01993, allocations: 1.024 MB / 0.9654 GB, free: 3.906 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005816/0.02051, allocations: 315.6 kB / 0.9657 GB, free: 3.598 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.02051, allocations: 0 / 0.9657 GB, free: 3.598 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002669/0.02078, allocations: 159.8 kB / 0.9658 GB, free: 3.441 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.02107, allocations: 29.14 kB / 0.9658 GB, free: 3.414 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/0.02422, allocations: 2.939 MB / 0.9687 GB, free: 404 kB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.283e-05/0.02431, allocations: 142.4 kB / 0.9688 GB, free: 240 kB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001583/0.02447, allocations: 53.44 kB / 0.9689 GB, free: 184 kB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.02459, allocations: 80.45 kB / 0.969 GB, free: 104 kB / 0.9167 GB Notification: Performance of SimCode: time 7.41e-07/0.02459, allocations: 0 / 0.969 GB, free: 104 kB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.0447, allocations: 6.922 MB / 0.9757 GB, free: 9.363 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.14/7.185, allocations: 8 kB / 0.9757 GB, free: 9.355 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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: 11.298386325128376]