Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.0008777/0.0008777, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001103/0.001103, 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.8805/0.8805, 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.657/1.657, allocations: 377.8 MB / 0.6221 GB, free: 8.652 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.ASHRAEHeatLoss,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.981 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/2.137e-05, allocations: 2.281 kB / 0.981 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002248/0.00227, allocations: 1.837 MB / 0.9827 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.003033/0.005303, allocations: 3.405 MB / 0.9861 GB, free: 13.33 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.005416, allocations: 0 / 0.9861 GB, free: 13.33 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007216/0.006138, allocations: 163.2 kB / 0.9862 GB, free: 13.17 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.006311, allocations: 83.45 kB / 0.9863 GB, free: 13.09 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001112/0.006422, allocations: 55.8 kB / 0.9864 GB, free: 13.03 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003561/0.006778, allocations: 275.1 kB / 0.9866 GB, free: 12.76 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.894e-05/0.006857, allocations: 25.73 kB / 0.9866 GB, free: 12.74 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.68e-05/0.006954, allocations: 95.72 kB / 0.9867 GB, free: 12.64 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.007055, allocations: 63.8 kB / 0.9868 GB, free: 12.58 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.007072, allocations: 8 kB / 0.9868 GB, free: 12.57 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.847e-05/0.007141, allocations: 27.98 kB / 0.9868 GB, free: 12.55 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.35e-05/0.007194, allocations: 55.83 kB / 0.9869 GB, free: 12.49 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.673e-05/0.007241, allocations: 55.78 kB / 0.9869 GB, free: 12.44 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.007433, allocations: 191.2 kB / 0.9871 GB, free: 12.25 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.007435, allocations: 4 kB / 0.9871 GB, free: 12.25 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.192e-06/0.007436, allocations: 4 kB / 0.9871 GB, free: 12.24 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.00744, allocations: 0 / 0.9871 GB, free: 12.24 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.0005401/0.00798, allocations: 472.8 kB / 0.9876 GB, free: 11.75 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.008019, allocations: 8.031 kB / 0.9876 GB, free: 11.74 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.226e-05/0.008051, allocations: 42.73 kB / 0.9876 GB, free: 11.69 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.008239, allocations: 60.75 kB / 0.9877 GB, free: 11.63 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.008506, allocations: 204.7 kB / 0.9879 GB, free: 11.41 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.008515, allocations: 4.375 kB / 0.9879 GB, free: 11.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.008529, allocations: 8.312 kB / 0.9879 GB, free: 11.39 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.008735, allocations: 134.1 kB / 0.988 GB, free: 11.26 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.008743, allocations: 192 / 0.988 GB, free: 11.26 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.008756, allocations: 11.86 kB / 0.988 GB, free: 11.25 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.008776, allocations: 12 kB / 0.988 GB, free: 11.23 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002205/0.008996, allocations: 135.8 kB / 0.9882 GB, free: 11.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.00945, allocations: 399.6 kB / 0.9886 GB, free: 10.67 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.009669, allocations: 154.5 kB / 0.9887 GB, free: 10.51 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.009803, allocations: 96.78 kB / 0.9888 GB, free: 10.41 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.009819, allocations: 3.984 kB / 0.9888 GB, free: 10.41 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.009837, allocations: 34.56 kB / 0.9888 GB, free: 10.36 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.009839, allocations: 0 / 0.9888 GB, free: 10.36 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0004674/0.01031, allocations: 287.6 kB / 0.9891 GB, free: 10.08 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.01033, allocations: 55.64 kB / 0.9892 GB, free: 10.01 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.01048, allocations: 241.9 kB / 0.9894 GB, free: 9.766 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.0105, allocations: 29.7 kB / 0.9894 GB, free: 9.73 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.337e-05/0.01056, allocations: 140.1 kB / 0.9896 GB, free: 9.59 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.01059, allocations: 47.58 kB / 0.9896 GB, free: 9.543 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/0.01063, allocations: 33.7 kB / 0.9896 GB, free: 9.504 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.909e-05/0.01071, allocations: 338.7 kB / 0.99 GB, free: 9.164 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.01082, allocations: 75.94 kB / 0.99 GB, free: 9.09 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.01093, allocations: 71.94 kB / 0.9901 GB, free: 9.02 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.01115, allocations: 156.7 kB / 0.9902 GB, free: 8.863 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01115, allocations: 0 / 0.9902 GB, free: 8.863 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002854/0.01144, allocations: 220.5 kB / 0.9905 GB, free: 8.645 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.01145, allocations: 4 kB / 0.9905 GB, free: 8.641 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.01146, allocations: 0 / 0.9905 GB, free: 8.641 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.01147, allocations: 3.984 kB / 0.9905 GB, free: 8.637 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.01158, allocations: 31.97 kB / 0.9905 GB, free: 8.605 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.01159, allocations: 4 kB / 0.9905 GB, free: 8.602 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.505e-05/0.01165, allocations: 15.92 kB / 0.9905 GB, free: 8.586 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.01167, allocations: 7.984 kB / 0.9905 GB, free: 8.578 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 8.377e-05/0.01175, allocations: 145.7 kB / 0.9907 GB, free: 8.426 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.01177, allocations: 27.81 kB / 0.9907 GB, free: 8.398 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.332e-05/0.01181, allocations: 25.77 kB / 0.9907 GB, free: 8.371 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.01181, allocations: 4 kB / 0.9907 GB, free: 8.367 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.01181, allocations: 0 / 0.9907 GB, free: 8.367 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.01181, allocations: 0 / 0.9907 GB, free: 8.367 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.012, allocations: 224.6 kB / 0.9909 GB, free: 8.105 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.012, allocations: 0 / 0.9909 GB, free: 8.105 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.38e-05/0.01208, allocations: 31.97 kB / 0.991 GB, free: 8.074 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.01208, allocations: 4 kB / 0.991 GB, free: 8.07 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.01209, allocations: 8 kB / 0.991 GB, free: 8.062 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.01209, allocations: 4 kB / 0.991 GB, free: 8.059 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.0121, allocations: 3.984 kB / 0.991 GB, free: 8.055 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.0124, allocations: 315.1 kB / 0.9913 GB, free: 7.73 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.601e-05/0.01245, allocations: 35.73 kB / 0.9913 GB, free: 7.695 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.01247, allocations: 12 kB / 0.9913 GB, free: 7.684 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.747e-05/0.01255, allocations: 11.98 kB / 0.9913 GB, free: 7.672 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.01259, allocations: 15.97 kB / 0.9913 GB, free: 7.656 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.0126, allocations: 0 / 0.9913 GB, free: 7.656 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001024/0.0127, allocations: 177.2 kB / 0.9915 GB, free: 7.48 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.0127, allocations: 0 / 0.9915 GB, free: 7.48 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001728/0.01287, allocations: 40 kB / 0.9916 GB, free: 7.441 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.0005045/0.01338, allocations: 0.8604 MB / 0.9924 GB, free: 6.555 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002768/0.01366, allocations: 162 kB / 0.9926 GB, free: 6.398 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01366, allocations: 4 kB / 0.9926 GB, free: 6.395 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.01378, allocations: 87.88 kB / 0.9926 GB, free: 6.309 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.01403, allocations: 44.45 kB / 0.9927 GB, free: 6.266 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.01602, allocations: 2.342 MB / 0.995 GB, free: 3.848 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.856e-05/0.01611, allocations: 144.1 kB / 0.9951 GB, free: 3.691 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001092/0.01622, allocations: 53.42 kB / 0.9952 GB, free: 3.637 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.178e-05/0.01629, allocations: 60.47 kB / 0.9952 GB, free: 3.574 MB / 0.948 GB Notification: Performance of SimCode: time 6.51e-07/0.01629, allocations: 0 / 0.9952 GB, free: 3.574 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01586/0.03215, allocations: 5.512 MB / 1.001 GB, free: 14.28 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.312/6.344, allocations: 3 kB / 1.001 GB, free: 14.28 MB / 0.9636 GB " [Timeout remaining time 294] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_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_ASHRAEHeatLoss.fmu > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.ASHRAEHeatLoss_res.csv. Warning: Get data of variable T1.y from file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv failed! Error: Could not read variable T2.y in file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv. Warning: Get data of variable T2.y from file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv failed! Error: Could not read variable T3.y in file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv. Warning: Get data of variable T3.y from file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.358142674900591]