Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade,fileNamePrefix="Buildings_10_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.001252/0.001252, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001301/0.0013, allocations: 193.1 kB / 16.14 MB, free: 6.719 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.344/1.344, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.505/2.505, allocations: 437 MB / 0.7099 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.91 kB / 0.8687 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6267/0.628, allocations: 151.6 MB / 1.017 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade): time 0.003393/0.6314, allocations: 2.291 MB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.6326, allocations: 0.7072 MB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.6328, allocations: 7.938 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004576/0.6332, allocations: 87.58 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001434/0.6334, allocations: 51.61 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000105/0.6335, allocations: 39.91 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.6338, allocations: 199.1 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.6339, allocations: 62.3 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.6341, allocations: 79.66 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.6342, allocations: 79.62 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.6343, allocations: 15.94 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.3e-05/0.6343, allocations: 8 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.159e-05/0.6343, allocations: 35.83 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.167e-05/0.6344, allocations: 87.53 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.6346, allocations: 183.2 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.6346, allocations: 4 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.22e-07/0.6346, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.6347, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.7794 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.0007302/0.6354, allocations: 486.8 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.6354, allocations: 8.031 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.232e-05/0.6355, allocations: 46.73 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.6356, allocations: 24.66 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.6359, allocations: 249.7 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.6359, allocations: 12.38 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.636, allocations: 16.38 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.6363, allocations: 153.4 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.6363, allocations: 0 / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.6363, allocations: 8 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.6363, allocations: 4 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000296/0.6366, allocations: 111.9 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007156/0.6374, allocations: 0.5077 MB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004112/0.6378, allocations: 162.8 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.638, allocations: 76.77 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.638, allocations: 3.984 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.638, allocations: 42.5 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 2.655e-06/0.638, allocations: 0 / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0005142/0.6385, allocations: 195.1 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.6386, allocations: 51.41 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.6387, allocations: 157 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.6388, allocations: 33.69 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.463e-05/0.6388, allocations: 120.3 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.6389, allocations: 55.2 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.566e-05/0.6389, allocations: 33.7 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.6391, allocations: 330.8 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.6392, allocations: 47.91 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.6393, allocations: 54.22 kB / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002457/0.6396, allocations: 108.8 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.6396, allocations: 0 / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003139/0.6399, allocations: 163 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.6399, allocations: 8 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.6399, allocations: 0 / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.64, allocations: 0 / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.6401, allocations: 39.92 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.6402, allocations: 7.969 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.6403, allocations: 23.84 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.6403, allocations: 0 / 1.024 GB, free: 11.37 MB / 0.7794 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 9.344e-05/0.6404, allocations: 133.8 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.6404, allocations: 15.81 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.359e-05/0.6405, allocations: 17.53 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.6405, allocations: 0 / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.6405, allocations: 0 / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.6405, allocations: 0 / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.6408, allocations: 261.4 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.6408, allocations: 0 / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.641, allocations: 39.97 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.641, allocations: 0 / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.641, allocations: 4 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.641, allocations: 0 / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.641, allocations: 0 / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005313/0.6416, allocations: 323.1 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-05/0.6417, allocations: 100.9 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.6417, allocations: 7.984 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.6418, allocations: 15.94 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.6419, allocations: 7.984 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.6419, allocations: 8 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.033e-05/0.642, allocations: 117.6 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.642, allocations: 7.938 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000271/0.6422, allocations: 43.84 kB / 1.025 GB, free: 10.2 MB / 0.7794 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.0007749/0.643, allocations: 0.8584 MB / 1.026 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003056/0.6433, allocations: 120.9 kB / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6434, allocations: 0 / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.6435, allocations: 64.89 kB / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.6439, allocations: 23.98 kB / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.6464, allocations: 2.167 MB / 1.028 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.6467, allocations: 0.7283 MB / 1.029 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.322e-05/0.6468, allocations: 13.55 kB / 1.029 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.226e-05/0.6469, allocations: 51.42 kB / 1.029 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.6469, allocations: 0 / 1.029 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4251/1.072, allocations: 3.093 MB / 1.032 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002733/1.072, allocations: 239.6 kB / 1.032 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.169/3.241, allocations: 6.469 kB / 1.032 GB, free: 2.863 MB / 0.7794 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches