Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00539/0.00539, allocations: 96.98 kB / 15.73 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 187.8 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.334/2.334, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.94 kB / 0.9504 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2389, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade): time 0.003368/0.2423, allocations: 2.219 MB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.2435, allocations: 0.7168 MB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.2436, allocations: 4 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004149/0.244, allocations: 99.39 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.2442, allocations: 71.41 kB / 1.091 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001025/0.2443, allocations: 35.95 kB / 1.091 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002712/0.2446, allocations: 219 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/0.2448, allocations: 75.86 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.245, allocations: 83.69 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.2451, allocations: 87.56 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.679e-05/0.2452, allocations: 12 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.482e-05/0.2452, allocations: 16 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.697e-05/0.2453, allocations: 35.84 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.2454, allocations: 99.47 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.2457, allocations: 191.1 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2457, allocations: 0 / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2457, allocations: 4 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.2457, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 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.0008783/0.2466, allocations: 494.3 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.2466, allocations: 8.031 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.304e-05/0.2467, allocations: 54.73 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.208e-05/0.2468, allocations: 24.8 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005026/0.2473, allocations: 256.6 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.2473, allocations: 12.38 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.516e-05/0.2474, allocations: 12.38 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003703/0.2478, allocations: 149.5 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.2478, allocations: 7.984 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.2478, allocations: 8 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.2478, allocations: 4 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003347/0.2482, allocations: 115.6 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007971/0.249, allocations: 0.4963 MB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004555/0.2494, allocations: 158.8 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.2496, allocations: 72.83 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.2497, allocations: 0 / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.2497, allocations: 46.55 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.2497, allocations: 0 / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0005058/0.2502, allocations: 193.4 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.2503, allocations: 51.41 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.2504, allocations: 155.3 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.2504, allocations: 33.7 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.027e-05/0.2505, allocations: 136.3 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/0.2505, allocations: 59.47 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.184e-05/0.2506, allocations: 33.7 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.2507, allocations: 326.8 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.2509, allocations: 47.97 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.251, allocations: 43.97 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.2513, allocations: 114.4 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2513, allocations: 0 / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003525/0.2517, allocations: 171.6 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.2517, allocations: 4 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.2517, allocations: 7.938 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.2517, allocations: 0 / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.2519, allocations: 31.98 kB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/0.2519, allocations: 4 kB / 1.095 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.624e-05/0.252, allocations: 15.98 kB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.252, allocations: 4 kB / 1.095 GB, free: 10.49 MB / 0.8575 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 0.0001231/0.2522, allocations: 125.7 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/0.2522, allocations: 19.91 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.194e-05/0.2523, allocations: 21.52 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.2523, allocations: 0 / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.2523, allocations: 4 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2523, allocations: 0 / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.2526, allocations: 261.4 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/0.2526, allocations: 0 / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.2528, allocations: 47.91 kB / 1.095 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.2529, allocations: 0 / 1.095 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.2529, allocations: 0 / 1.095 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.2529, allocations: 4 kB / 1.095 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2529, allocations: 3.938 kB / 1.095 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005205/0.2534, allocations: 325.9 kB / 1.095 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.549e-05/0.2535, allocations: 97.05 kB / 1.095 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.2535, allocations: 4 kB / 1.095 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.2536, allocations: 11.98 kB / 1.095 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.2537, allocations: 7.984 kB / 1.095 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.2537, allocations: 8 kB / 1.095 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.926e-05/0.2538, allocations: 112 kB / 1.096 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.2538, allocations: 0 / 1.096 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002617/0.2541, allocations: 47.89 kB / 1.096 GB, free: 9.324 MB / 0.8575 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.0008044/0.2549, allocations: 0.8533 MB / 1.096 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003294/0.2552, allocations: 127.8 kB / 1.097 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2552, allocations: 0 / 1.097 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.2554, allocations: 63.91 kB / 1.097 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.2557, allocations: 29.8 kB / 1.097 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.2583, allocations: 2.106 MB / 1.099 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.2586, allocations: 0.7241 MB / 1.099 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.026e-05/0.2587, allocations: 13.55 kB / 1.099 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.092e-05/0.2588, allocations: 55.42 kB / 1.099 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of SimCode: time 3.61e-07/0.2588, allocations: 0 / 1.099 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01939/0.2782, allocations: 3.38 MB / 1.103 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.468/7.746, allocations: 14.03 kB / 1.103 GB, free: 2.008 MB / 0.8575 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches