Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.001487/0.001487, allocations: 116.8 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.001606/0.001606, allocations: 212 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.435/1.435, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.816/2.816, allocations: 0.5003 GB / 0.8026 GB, free: 6.879 MB / 0.6387 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.EN12975SolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.001918/0.001918, allocations: 59.91 kB / 1.165 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8458/0.8477, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003415/0.8511, allocations: 2.1 MB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00513/0.8562, allocations: 4.21 MB / 1.346 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002761/0.8565, allocations: 5.312 kB / 1.346 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009297/0.8575, allocations: 194.9 kB / 1.346 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002372/0.8577, allocations: 70.94 kB / 1.347 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.8587, allocations: 291.9 kB / 1.347 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007648/0.8595, allocations: 391.9 kB / 1.347 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.8596, allocations: 43.89 kB / 1.347 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002517/0.8599, allocations: 116.7 kB / 1.347 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.8601, allocations: 135.5 kB / 1.347 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.433e-05/0.8601, allocations: 20.44 kB / 1.348 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006996/0.8608, allocations: 318.4 kB / 1.348 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.861, allocations: 99.83 kB / 1.348 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.8612, allocations: 153.5 kB / 1.348 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.8622, allocations: 0.5207 MB / 1.349 GB, free: 10.84 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.8623, allocations: 0 / 1.349 GB, free: 10.84 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.535e-06/0.8623, allocations: 1.25 kB / 1.349 GB, free: 10.84 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.716e-05/0.8623, allocations: 0 / 1.349 GB, free: 10.84 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001805/0.8641, allocations: 0.7798 MB / 1.349 GB, free: 10.21 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.8641, allocations: 10.12 kB / 1.349 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.039e-05/0.8641, allocations: 2.594 kB / 1.349 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.606e-05/0.8642, allocations: 39.84 kB / 1.349 GB, free: 10.17 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.8654, allocations: 158.4 kB / 1.35 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008745/0.8663, allocations: 357.4 kB / 1.35 GB, free: 9.867 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.8663, allocations: 12.41 kB / 1.35 GB, free: 9.859 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.9e-05/0.8664, allocations: 9.406 kB / 1.35 GB, free: 9.855 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006208/0.867, allocations: 211.3 kB / 1.35 GB, free: 9.785 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.867, allocations: 4 kB / 1.35 GB, free: 9.781 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.867, allocations: 5.031 kB / 1.35 GB, free: 9.777 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.867, allocations: 2.953 kB / 1.35 GB, free: 9.777 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007995/0.8678, allocations: 261.5 kB / 1.35 GB, free: 9.727 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.8692, allocations: 0.6089 MB / 1.351 GB, free: 9.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004905/0.8697, allocations: 179.5 kB / 1.351 GB, free: 9.281 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004222/0.8701, allocations: 132.9 kB / 1.351 GB, free: 9.25 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.163e-05/0.8702, allocations: 20.02 kB / 1.351 GB, free: 9.246 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.8702, allocations: 36.48 kB / 1.351 GB, free: 9.203 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 2.515e-06/0.8702, allocations: 224 / 1.351 GB, free: 9.203 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.001556/0.8718, allocations: 470.8 kB / 1.352 GB, free: 9.066 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.8718, allocations: 56.47 kB / 1.352 GB, free: 9 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006271/0.8724, allocations: 425 kB / 1.352 GB, free: 8.805 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.8725, allocations: 26.92 kB / 1.352 GB, free: 8.773 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.8726, allocations: 181.3 kB / 1.352 GB, free: 8.621 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.224e-05/0.8726, allocations: 43.38 kB / 1.352 GB, free: 8.586 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.8727, allocations: 48.86 kB / 1.352 GB, free: 8.555 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.825e-05/0.8728, allocations: 344.9 kB / 1.353 GB, free: 8.23 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004751/0.8733, allocations: 177.2 kB / 1.353 GB, free: 8.191 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004617/0.8738, allocations: 180.9 kB / 1.353 GB, free: 8.152 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009085/0.8747, allocations: 376.6 kB / 1.354 GB, free: 8.027 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.8747, allocations: 0 / 1.354 GB, free: 8.027 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001158/0.8758, allocations: 486 kB / 1.354 GB, free: 7.859 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.602e-05/0.8759, allocations: 44.78 kB / 1.354 GB, free: 7.824 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.8759, allocations: 1.703 kB / 1.354 GB, free: 7.824 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.8759, allocations: 4 kB / 1.354 GB, free: 7.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/0.8763, allocations: 45.89 kB / 1.354 GB, free: 7.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.8763, allocations: 4.844 kB / 1.354 GB, free: 7.816 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003833/0.8767, allocations: 43.47 kB / 1.354 GB, free: 7.801 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/0.8767, allocations: 7.719 kB / 1.354 GB, free: 7.801 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0002072/0.877, allocations: 157 kB / 1.354 GB, free: 7.668 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.8771, allocations: 35.48 kB / 1.354 GB, free: 7.648 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.8782, allocations: 374.8 kB / 1.355 GB, free: 7.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.8782, allocations: 1.719 kB / 1.355 GB, free: 7.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.8782, allocations: 3.938 kB / 1.355 GB, free: 7.516 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.8782, allocations: 1.953 kB / 1.355 GB, free: 7.516 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004992/0.8787, allocations: 350.7 kB / 1.355 GB, free: 7.266 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.8787, allocations: 4.969 kB / 1.355 GB, free: 7.262 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003603/0.8791, allocations: 53.64 kB / 1.355 GB, free: 7.254 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.8791, allocations: 1.156 kB / 1.355 GB, free: 7.254 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/0.8791, allocations: 3.672 kB / 1.355 GB, free: 7.254 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.8791, allocations: 1.344 kB / 1.355 GB, free: 7.254 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.8791, allocations: 4.453 kB / 1.355 GB, free: 7.25 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.8801, allocations: 441.1 kB / 1.355 GB, free: 7.035 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.8803, allocations: 129.1 kB / 1.356 GB, free: 6.914 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.475e-05/0.8804, allocations: 1.938 kB / 1.356 GB, free: 6.914 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003318/0.8807, allocations: 27.81 kB / 1.356 GB, free: 6.91 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.754e-05/0.8808, allocations: 23.7 kB / 1.356 GB, free: 6.898 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.8808, allocations: 4.219 kB / 1.356 GB, free: 6.898 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000392/0.8812, allocations: 297.1 kB / 1.356 GB, free: 6.762 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.8812, allocations: 3.938 kB / 1.356 GB, free: 6.758 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007159/0.8819, allocations: 119.2 kB / 1.356 GB, free: 6.738 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 (11): * Single equations (assignments): 11 * 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.001677/0.8836, allocations: 1.043 MB / 1.357 GB, free: 5.977 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001209/0.8848, allocations: 471.5 kB / 1.358 GB, free: 5.828 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8848, allocations: 4 kB / 1.358 GB, free: 5.824 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004591/0.8853, allocations: 147.3 kB / 1.358 GB, free: 5.793 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006093/0.8859, allocations: 66.25 kB / 1.358 GB, free: 5.762 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007285/0.8932, allocations: 4.281 MB / 1.362 GB, free: 3.574 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.8935, allocations: 0.7899 MB / 1.363 GB, free: 2.867 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003/0.8938, allocations: 61.02 kB / 1.363 GB, free: 2.848 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.894, allocations: 110.3 kB / 1.363 GB, free: 2.766 MB / 1.061 GB Notification: Performance of SimCode: time 9.22e-07/0.894, allocations: 0 / 1.363 GB, free: 2.766 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03544/0.9294, allocations: 8.653 MB / 1.371 GB, free: 1.906 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.675/9.604, allocations: 7.797 kB / 1.371 GB, free: 1.902 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.622838560957462]