Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.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.0007893/0.0007893, 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.0007699/0.0007699, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8681/0.8681, allocations: 177.2 MB / 202.8 MB, free: 5.543 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.667/1.667, allocations: 377.9 MB / 0.6221 GB, free: 8.629 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.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.574e-05, allocations: 6.281 kB / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade): time 0.004377/0.004403, allocations: 2.169 MB / 0.9831 GB, free: 380 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002055/0.006458, allocations: 0.697 MB / 0.9838 GB, free: 15.67 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003002/0.006758, allocations: 7.938 kB / 0.9838 GB, free: 15.66 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007061/0.007464, allocations: 95.36 kB / 0.9839 GB, free: 15.57 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.007633, allocations: 63.47 kB / 0.9839 GB, free: 15.5 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001226/0.007756, allocations: 43.94 kB / 0.984 GB, free: 15.46 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002431/0.007999, allocations: 214.9 kB / 0.9842 GB, free: 15.25 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001972/0.008196, allocations: 50.66 kB / 0.9842 GB, free: 15.2 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.008376, allocations: 115.7 kB / 0.9843 GB, free: 15.09 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.008501, allocations: 71.73 kB / 0.9844 GB, free: 15.02 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.586e-05/0.008537, allocations: 20 kB / 0.9844 GB, free: 15 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.06e-05/0.008557, allocations: 12 kB / 0.9844 GB, free: 14.98 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.926e-05/0.008596, allocations: 39.83 kB / 0.9845 GB, free: 14.95 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.403e-05/0.00866, allocations: 63.83 kB / 0.9845 GB, free: 14.88 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.008931, allocations: 183.4 kB / 0.9847 GB, free: 14.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.008938, allocations: 0 / 0.9847 GB, free: 14.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.003e-06/0.00894, allocations: 0 / 0.9847 GB, free: 14.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.00895, allocations: 0 / 0.9847 GB, free: 14.7 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007183/0.009668, allocations: 417.4 kB / 0.9851 GB, free: 14.27 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.441e-05/0.009732, allocations: 12.03 kB / 0.9851 GB, free: 14.25 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.659e-05/0.009789, allocations: 50.73 kB / 0.9852 GB, free: 14.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.485e-05/0.009844, allocations: 24.8 kB / 0.9852 GB, free: 14.17 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004586/0.0103, allocations: 191.1 kB / 0.9854 GB, free: 13.96 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.01032, allocations: 12.38 kB / 0.9854 GB, free: 13.95 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.01035, allocations: 24.38 kB / 0.9854 GB, free: 13.93 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.01062, allocations: 151.4 kB / 0.9856 GB, free: 13.77 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.01063, allocations: 192 / 0.9856 GB, free: 13.77 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.01065, allocations: 8.125 kB / 0.9856 GB, free: 13.77 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.01066, allocations: 7.938 kB / 0.9856 GB, free: 13.76 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.01085, allocations: 107.9 kB / 0.9857 GB, free: 13.65 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006457/0.01149, allocations: 447.1 kB / 0.9861 GB, free: 13.17 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003812/0.01187, allocations: 154.8 kB / 0.9863 GB, free: 13.01 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.01198, allocations: 72.77 kB / 0.9863 GB, free: 12.94 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.012, allocations: 0 / 0.9863 GB, free: 12.94 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.01202, allocations: 42.55 kB / 0.9864 GB, free: 12.89 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.964e-06/0.01202, allocations: 0 / 0.9864 GB, free: 12.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0003458/0.01237, allocations: 196.3 kB / 0.9865 GB, free: 12.69 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.0124, allocations: 51.41 kB / 0.9866 GB, free: 12.63 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.0125, allocations: 157.9 kB / 0.9867 GB, free: 12.46 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.01252, allocations: 29.7 kB / 0.9868 GB, free: 12.43 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.01257, allocations: 128.4 kB / 0.9869 GB, free: 12.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.0126, allocations: 47.53 kB / 0.9869 GB, free: 12.25 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.01265, allocations: 37.7 kB / 0.987 GB, free: 12.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.09e-05/0.01273, allocations: 322.8 kB / 0.9873 GB, free: 11.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.85e-05/0.01281, allocations: 51.91 kB / 0.9873 GB, free: 11.84 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.665e-05/0.01287, allocations: 58.69 kB / 0.9874 GB, free: 11.78 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.01302, allocations: 108.8 kB / 0.9875 GB, free: 11.67 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.01302, allocations: 0 / 0.9875 GB, free: 11.67 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00019/0.01321, allocations: 168.2 kB / 0.9877 GB, free: 11.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.01322, allocations: 4 kB / 0.9877 GB, free: 11.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.01323, allocations: 3.984 kB / 0.9877 GB, free: 11.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.01324, allocations: 4 kB / 0.9877 GB, free: 11.49 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.829e-05/0.01334, allocations: 39.92 kB / 0.9877 GB, free: 11.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.01335, allocations: 0 / 0.9877 GB, free: 11.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.587e-05/0.01339, allocations: 23.88 kB / 0.9877 GB, free: 11.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.0134, allocations: 4 kB / 0.9877 GB, free: 11.43 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 (18): * Single equations (assignments): 18 * 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.417e-05/0.01347, allocations: 121.8 kB / 0.9878 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.0135, allocations: 23.78 kB / 0.9879 GB, free: 11.27 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.722e-05/0.01353, allocations: 25.45 kB / 0.9879 GB, free: 11.25 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.01353, allocations: 0 / 0.9879 GB, free: 11.25 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.01354, allocations: 4 kB / 0.9879 GB, free: 11.25 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01354, allocations: 0 / 0.9879 GB, free: 11.25 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.01371, allocations: 208.6 kB / 0.9881 GB, free: 11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.01372, allocations: 3.938 kB / 0.9881 GB, free: 11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.01383, allocations: 43.97 kB / 0.9881 GB, free: 10.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.01383, allocations: 0 / 0.9881 GB, free: 10.95 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.01384, allocations: 7.938 kB / 0.9882 GB, free: 10.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.01384, allocations: 0 / 0.9882 GB, free: 10.95 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01384, allocations: 0 / 0.9882 GB, free: 10.95 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.01416, allocations: 323.2 kB / 0.9885 GB, free: 10.61 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/0.0142, allocations: 19.92 kB / 0.9885 GB, free: 10.59 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.01421, allocations: 4 kB / 0.9885 GB, free: 10.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.872e-05/0.01427, allocations: 11.98 kB / 0.9885 GB, free: 10.58 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.01431, allocations: 7.984 kB / 0.9885 GB, free: 10.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.01431, allocations: 4 kB / 0.9885 GB, free: 10.57 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.617e-05/0.01437, allocations: 120.9 kB / 0.9886 GB, free: 10.45 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01437, allocations: 0 / 0.9886 GB, free: 10.45 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001622/0.01453, allocations: 43.89 kB / 0.9887 GB, free: 10.41 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (heaCapGla.TUns,heaCapGla.TSha,heaCapSha.T) * 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 (15): * Single equations (assignments): 15 * 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.0007575/0.01529, allocations: 0.8602 MB / 0.9895 GB, free: 9.52 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001975/0.01548, allocations: 111.9 kB / 0.9896 GB, free: 9.41 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01549, allocations: 0 / 0.9896 GB, free: 9.41 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.214e-05/0.01556, allocations: 59.89 kB / 0.9897 GB, free: 9.352 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.01581, allocations: 32 kB / 0.9897 GB, free: 9.32 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.01748, allocations: 2.03 MB / 0.9917 GB, free: 7.211 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.505e-05/0.01756, allocations: 116.2 kB / 0.9918 GB, free: 7.074 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.209e-05/0.01761, allocations: 13.48 kB / 0.9918 GB, free: 7.062 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.912e-05/0.01768, allocations: 52.48 kB / 0.9919 GB, free: 7.012 MB / 0.948 GB Notification: Performance of SimCode: time 1.623e-06/0.01768, allocations: 0 / 0.9919 GB, free: 7.012 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01586/0.03354, allocations: 4.156 MB / 0.9959 GB, free: 3.051 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.459/6.493, allocations: 4.062 kB / 0.9959 GB, free: 3.047 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.csv --start-time 0 --stop-time 600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade.fmu > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable heaCapGla.portSha.T in file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.csv. Warning: Get data of variable heaCapGla.portSha.T from file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.csv failed! Error: Could not read variable heaCapGla.portUns.T in file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.csv. Warning: Get data of variable heaCapGla.portUns.T from file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.csv failed! Error: Could not read variable heaCapGla.portSha.Q_flow in file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.csv. Warning: Get data of variable heaCapGla.portSha.Q_flow from file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.csv failed! Error: Could not read variable heaCapGla.portUns.Q_flow in file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.csv. Warning: Get data of variable heaCapGla.portUns.Q_flow from file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.495388405397534]