Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.0008556/0.0008556, 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.0009113/0.0009113, allocations: 169.9 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.8562/0.8562, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.698/1.698, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.EN12975HeatLoss,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.525e-05/1.66e-05, allocations: 2.281 kB / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.001924/0.001941, allocations: 1.857 MB / 0.9828 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002909/0.00485, allocations: 3.452 MB / 0.9861 GB, free: 13.24 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.137e-05/0.004921, allocations: 3.938 kB / 0.9861 GB, free: 13.23 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005745/0.005496, allocations: 183.1 kB / 0.9863 GB, free: 13.05 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.005625, allocations: 83.39 kB / 0.9864 GB, free: 12.97 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 7.1e-05/0.005696, allocations: 55.91 kB / 0.9865 GB, free: 12.92 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003311/0.006027, allocations: 282.9 kB / 0.9867 GB, free: 12.64 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.832e-05/0.006106, allocations: 17.8 kB / 0.9867 GB, free: 12.62 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.274e-05/0.006198, allocations: 103.8 kB / 0.9868 GB, free: 12.52 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.49e-05/0.006293, allocations: 75.73 kB / 0.9869 GB, free: 12.45 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.006309, allocations: 8 kB / 0.9869 GB, free: 12.44 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.892e-05/0.006368, allocations: 23.94 kB / 0.9869 GB, free: 12.42 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.435e-05/0.006423, allocations: 59.81 kB / 0.987 GB, free: 12.36 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.334e-05/0.006466, allocations: 51.86 kB / 0.9871 GB, free: 12.31 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.006649, allocations: 207.2 kB / 0.9872 GB, free: 12.11 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.00665, allocations: 0 / 0.9872 GB, free: 12.11 MB / 0.948 GB Notification: Performance of FrontEnd: time 6.81e-07/0.006651, allocations: 0 / 0.9872 GB, free: 12.11 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.006655, allocations: 0 / 0.9872 GB, free: 12.11 MB / 0.948 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.0005481/0.007203, allocations: 480.8 kB / 0.9877 GB, free: 11.61 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.007239, allocations: 11.97 kB / 0.9877 GB, free: 11.59 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.086e-05/0.00727, allocations: 38.75 kB / 0.9878 GB, free: 11.55 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.007454, allocations: 64.7 kB / 0.9878 GB, free: 11.48 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.007699, allocations: 205.8 kB / 0.988 GB, free: 11.25 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.864e-06/0.007707, allocations: 4.375 kB / 0.988 GB, free: 11.25 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.00772, allocations: 8.375 kB / 0.988 GB, free: 11.24 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.007937, allocations: 142.1 kB / 0.9882 GB, free: 11.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.007944, allocations: 192 / 0.9882 GB, free: 11.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.007956, allocations: 7.875 kB / 0.9882 GB, free: 11.09 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/0.007977, allocations: 15.84 kB / 0.9882 GB, free: 11.07 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002325/0.00821, allocations: 143.9 kB / 0.9883 GB, free: 10.93 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/0.00864, allocations: 407.7 kB / 0.9887 GB, free: 10.49 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.00887, allocations: 168.1 kB / 0.9889 GB, free: 10.32 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.009008, allocations: 104.8 kB / 0.989 GB, free: 10.21 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.009022, allocations: 0 / 0.989 GB, free: 10.21 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.009038, allocations: 30.56 kB / 0.989 GB, free: 10.18 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.009039, allocations: 0 / 0.989 GB, free: 10.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0004596/0.009499, allocations: 301.6 kB / 0.9893 GB, free: 9.875 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.009527, allocations: 51.41 kB / 0.9893 GB, free: 9.812 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.009676, allocations: 256.2 kB / 0.9896 GB, free: 9.555 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.009688, allocations: 25.7 kB / 0.9896 GB, free: 9.523 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/0.009752, allocations: 148 kB / 0.9897 GB, free: 9.375 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.009783, allocations: 43.59 kB / 0.9898 GB, free: 9.332 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/0.009827, allocations: 33.7 kB / 0.9898 GB, free: 9.293 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.449e-05/0.009902, allocations: 338.8 kB / 0.9901 GB, free: 8.953 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.01002, allocations: 71.94 kB / 0.9902 GB, free: 8.883 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.01013, allocations: 87.11 kB / 0.9903 GB, free: 8.801 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.01036, allocations: 160.8 kB / 0.9904 GB, free: 8.641 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01036, allocations: 0 / 0.9904 GB, free: 8.641 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002781/0.01064, allocations: 221.4 kB / 0.9907 GB, free: 8.418 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.01065, allocations: 4 kB / 0.9907 GB, free: 8.414 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.01065, allocations: 0 / 0.9907 GB, free: 8.414 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.01066, allocations: 8 kB / 0.9907 GB, free: 8.406 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.01079, allocations: 35.89 kB / 0.9907 GB, free: 8.371 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.01079, allocations: 4 kB / 0.9907 GB, free: 8.367 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.91e-05/0.01086, allocations: 23.88 kB / 0.9907 GB, free: 8.344 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.01087, allocations: 4 kB / 0.9907 GB, free: 8.34 MB / 0.948 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 7.924e-05/0.01095, allocations: 141.8 kB / 0.9909 GB, free: 8.191 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.01097, allocations: 23.86 kB / 0.9909 GB, free: 8.168 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.266e-05/0.01101, allocations: 33.8 kB / 0.9909 GB, free: 8.133 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.01101, allocations: 0 / 0.9909 GB, free: 8.133 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.01101, allocations: 0 / 0.9909 GB, free: 8.133 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.01101, allocations: 0 / 0.9909 GB, free: 8.133 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.01118, allocations: 228.6 kB / 0.9911 GB, free: 7.867 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.01118, allocations: 0 / 0.9911 GB, free: 7.867 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.771e-05/0.01127, allocations: 39.91 kB / 0.9912 GB, free: 7.828 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.01127, allocations: 0 / 0.9912 GB, free: 7.828 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.01128, allocations: 7.984 kB / 0.9912 GB, free: 7.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.01129, allocations: 4 kB / 0.9912 GB, free: 7.816 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.01129, allocations: 4 kB / 0.9912 GB, free: 7.812 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.01159, allocations: 319.2 kB / 0.9915 GB, free: 7.484 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/0.01164, allocations: 47.77 kB / 0.9915 GB, free: 7.438 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.01165, allocations: 0 / 0.9915 GB, free: 7.438 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.216e-05/0.01174, allocations: 11.98 kB / 0.9916 GB, free: 7.426 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.01178, allocations: 15.98 kB / 0.9916 GB, free: 7.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.01178, allocations: 7.922 kB / 0.9916 GB, free: 7.402 MB / 0.948 GB Notification: Performance of sorting global known variables: time 9.632e-05/0.01188, allocations: 187.1 kB / 0.9918 GB, free: 7.223 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01188, allocations: 0 / 0.9918 GB, free: 7.223 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001731/0.01205, allocations: 43.94 kB / 0.9918 GB, free: 7.18 MB / 0.948 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.0005037/0.01256, allocations: 0.8587 MB / 0.9926 GB, free: 6.297 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002796/0.01284, allocations: 171.8 kB / 0.9928 GB, free: 6.129 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01284, allocations: 3.938 kB / 0.9928 GB, free: 6.125 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003698/0.01321, allocations: 95.86 kB / 0.9929 GB, free: 6.031 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.01348, allocations: 51.69 kB / 0.9929 GB, free: 5.98 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.01537, allocations: 2.425 MB / 0.9953 GB, free: 3.473 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.898e-05/0.01545, allocations: 128.1 kB / 0.9954 GB, free: 3.328 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001021/0.01555, allocations: 61.42 kB / 0.9955 GB, free: 3.27 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.504e-05/0.01562, allocations: 64.47 kB / 0.9956 GB, free: 3.207 MB / 0.948 GB Notification: Performance of SimCode: time 4.4e-07/0.01562, allocations: 0 / 0.9956 GB, free: 3.207 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01866/0.03428, allocations: 5.845 MB / 1.001 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.425/6.459, allocations: 2.234 kB / 1.001 GB, free: 13.57 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.327413291670382]