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.0007741/0.0007741, 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.0008255/0.0008255, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8428/0.8428, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.629/1.629, 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.243e-06/1.243e-06, allocations: 0 / 0.981 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.113e-05/1.237e-05, allocations: 2.281 kB / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.001823/0.001835, allocations: 1.853 MB / 0.9828 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002534/0.004369, allocations: 3.444 MB / 0.9861 GB, free: 13.27 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.462e-05/0.004434, allocations: 0 / 0.9861 GB, free: 13.27 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005481/0.004982, allocations: 195 kB / 0.9863 GB, free: 13.08 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.005101, allocations: 71.53 kB / 0.9864 GB, free: 13.01 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 7.268e-05/0.005174, allocations: 59.86 kB / 0.9864 GB, free: 12.95 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003166/0.00549, allocations: 290.9 kB / 0.9867 GB, free: 12.66 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.207e-05/0.005562, allocations: 17.8 kB / 0.9867 GB, free: 12.65 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.893e-05/0.005651, allocations: 99.72 kB / 0.9868 GB, free: 12.55 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.906e-05/0.00574, allocations: 63.8 kB / 0.9869 GB, free: 12.49 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.005757, allocations: 8 kB / 0.9869 GB, free: 12.48 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.645e-05/0.005813, allocations: 27.98 kB / 0.9869 GB, free: 12.45 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.302e-05/0.005866, allocations: 67.75 kB / 0.987 GB, free: 12.39 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.441e-05/0.005911, allocations: 51.86 kB / 0.987 GB, free: 12.34 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.006089, allocations: 203.1 kB / 0.9872 GB, free: 12.14 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.006091, allocations: 0 / 0.9872 GB, free: 12.14 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.012e-06/0.006092, allocations: 4 kB / 0.9872 GB, free: 12.13 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.369e-06/0.006097, allocations: 0 / 0.9872 GB, free: 12.13 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.0005602/0.006657, allocations: 479.6 kB / 0.9877 GB, free: 11.64 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.006689, allocations: 8.031 kB / 0.9877 GB, free: 11.63 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.2e-05/0.006721, allocations: 42.73 kB / 0.9877 GB, free: 11.58 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000425/0.007146, allocations: 64.7 kB / 0.9878 GB, free: 11.52 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.007386, allocations: 205.8 kB / 0.988 GB, free: 11.29 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.007395, allocations: 4.375 kB / 0.988 GB, free: 11.28 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.007409, allocations: 8.375 kB / 0.988 GB, free: 11.27 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.007616, allocations: 138.1 kB / 0.9882 GB, free: 11.13 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.007622, allocations: 4.125 kB / 0.9882 GB, free: 11.13 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.007635, allocations: 7.938 kB / 0.9882 GB, free: 11.12 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.007657, allocations: 19.83 kB / 0.9882 GB, free: 11.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002269/0.007884, allocations: 147.9 kB / 0.9883 GB, free: 10.96 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.008301, allocations: 403.7 kB / 0.9887 GB, free: 10.52 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.008521, allocations: 158.5 kB / 0.9889 GB, free: 10.36 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.008655, allocations: 104.8 kB / 0.989 GB, free: 10.25 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.008669, allocations: 0 / 0.989 GB, free: 10.25 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.008688, allocations: 42.55 kB / 0.989 GB, free: 10.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.008689, allocations: 0 / 0.989 GB, free: 10.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0004606/0.00915, allocations: 299.2 kB / 0.9893 GB, free: 9.902 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.009174, allocations: 51.41 kB / 0.9893 GB, free: 9.84 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.009322, allocations: 256.2 kB / 0.9896 GB, free: 9.582 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.009335, allocations: 29.7 kB / 0.9896 GB, free: 9.547 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.958e-05/0.009395, allocations: 140 kB / 0.9897 GB, free: 9.406 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.009426, allocations: 51.59 kB / 0.9898 GB, free: 9.355 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.009464, allocations: 25.7 kB / 0.9898 GB, free: 9.324 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.891e-05/0.009543, allocations: 342.8 kB / 0.9901 GB, free: 8.98 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.009659, allocations: 75.94 kB / 0.9902 GB, free: 8.906 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.009768, allocations: 74.94 kB / 0.9903 GB, free: 8.836 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/0.009996, allocations: 164.7 kB / 0.9904 GB, free: 8.672 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.009998, allocations: 3.938 kB / 0.9904 GB, free: 8.668 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002759/0.01027, allocations: 221.4 kB / 0.9907 GB, free: 8.445 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.01029, allocations: 10.81 kB / 0.9907 GB, free: 8.438 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.01029, allocations: 0 / 0.9907 GB, free: 8.438 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.0103, allocations: 0 / 0.9907 GB, free: 8.438 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.01041, allocations: 35.97 kB / 0.9907 GB, free: 8.402 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.01042, allocations: 0 / 0.9907 GB, free: 8.402 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.836e-05/0.01049, allocations: 23.86 kB / 0.9907 GB, free: 8.379 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.0105, allocations: 4 kB / 0.9907 GB, free: 8.375 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.602e-05/0.01057, allocations: 141.7 kB / 0.9909 GB, free: 8.227 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.0106, allocations: 23.86 kB / 0.9909 GB, free: 8.203 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.01063, allocations: 33.8 kB / 0.9909 GB, free: 8.168 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.01063, allocations: 0 / 0.9909 GB, free: 8.168 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.01064, allocations: 8 kB / 0.9909 GB, free: 8.16 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.01064, allocations: 0 / 0.9909 GB, free: 8.16 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.0108, allocations: 228.5 kB / 0.9911 GB, free: 7.895 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.0108, allocations: 0 / 0.9911 GB, free: 7.895 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.596e-05/0.01089, allocations: 35.95 kB / 0.9912 GB, free: 7.859 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.01089, allocations: 4 kB / 0.9912 GB, free: 7.855 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.0109, allocations: 4 kB / 0.9912 GB, free: 7.852 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.0109, allocations: 4 kB / 0.9912 GB, free: 7.848 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.0109, allocations: 0 / 0.9912 GB, free: 7.848 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/0.0112, allocations: 334 kB / 0.9915 GB, free: 7.508 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.734e-05/0.01125, allocations: 39.78 kB / 0.9915 GB, free: 7.469 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.01127, allocations: 4 kB / 0.9915 GB, free: 7.465 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.988e-05/0.01135, allocations: 11.98 kB / 0.9916 GB, free: 7.453 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.01139, allocations: 11.97 kB / 0.9916 GB, free: 7.441 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.0114, allocations: 12 kB / 0.9916 GB, free: 7.43 MB / 0.948 GB Notification: Performance of sorting global known variables: time 9.376e-05/0.01149, allocations: 179.1 kB / 0.9918 GB, free: 7.258 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01149, allocations: 4 kB / 0.9918 GB, free: 7.254 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001664/0.01166, allocations: 39.94 kB / 0.9918 GB, free: 7.215 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.0004859/0.01214, allocations: 0.8633 MB / 0.9926 GB, free: 6.328 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002707/0.01241, allocations: 175.9 kB / 0.9928 GB, free: 6.156 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.01241, allocations: 3.938 kB / 0.9928 GB, free: 6.152 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.01254, allocations: 83.92 kB / 0.9929 GB, free: 6.07 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.0128, allocations: 52.94 kB / 0.9929 GB, free: 6.016 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.01488, allocations: 2.428 MB / 0.9953 GB, free: 3.504 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.968e-05/0.01496, allocations: 140 kB / 0.9954 GB, free: 3.348 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001015/0.01506, allocations: 53.44 kB / 0.9955 GB, free: 3.297 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.291e-05/0.01513, allocations: 64.47 kB / 0.9956 GB, free: 3.234 MB / 0.948 GB Notification: Performance of SimCode: time 5.41e-07/0.01513, allocations: 0 / 0.9956 GB, free: 3.234 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01698/0.03211, allocations: 5.84 MB / 1.001 GB, free: 13.61 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.425/6.457, allocations: 6.719 kB / 1.001 GB, free: 13.61 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 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.csv","/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] "Error: Could not read variable T1.y in file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv. Warning: Get data of variable T1.y from file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv failed! Error: Could not read variable T2.y in file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv. Warning: Get data of variable T2.y from file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv failed! Error: Could not read variable T3.y in file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv. Warning: Get data of variable T3.y from file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.310428565368056]