Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.HeatCapacityConstantShade,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade",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.001152/0.001153, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 194 kB / 16.53 MB, free: 6.664 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.164/1.164, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.349/2.349, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 62.39 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2153, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade): time 0.003426/0.2187, allocations: 3.025 MB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.22, allocations: 0.9074 MB / 1.057 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001759/0.2202, allocations: 8 kB / 1.057 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000389/0.2206, allocations: 131 kB / 1.057 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.2208, allocations: 138.8 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001453/0.221, allocations: 91.88 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003519/0.2213, allocations: 453.8 kB / 1.058 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/0.2215, allocations: 153.9 kB / 1.058 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.2217, allocations: 155.4 kB / 1.058 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.2219, allocations: 187.1 kB / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.336e-05/0.222, allocations: 28 kB / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.358e-05/0.222, allocations: 32 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.526e-05/0.2221, allocations: 79.69 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.2222, allocations: 195 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.2225, allocations: 390.5 kB / 1.059 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2225, allocations: 0 / 1.059 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2226, allocations: 0 / 1.059 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.2226, allocations: 4 kB / 1.059 GB, free: 2.34 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0007697/0.2233, allocations: 0.6396 MB / 1.059 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.2234, allocations: 8.625 kB / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.964e-05/0.2234, allocations: 74.72 kB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.029e-05/0.2235, allocations: 52.47 kB / 1.059 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.2238, allocations: 300.5 kB / 1.06 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.2239, allocations: 25.38 kB / 1.06 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.868e-05/0.2239, allocations: 36.38 kB / 1.06 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.2244, allocations: 370.9 kB / 1.06 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.2244, allocations: 3.906 kB / 1.06 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.2244, allocations: 16 kB / 1.06 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.2244, allocations: 15.94 kB / 1.06 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002876/0.2247, allocations: 200.7 kB / 1.06 GB, free: 500 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.2259, allocations: 1.49 MB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003244/0.2263, allocations: 290.5 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.2264, allocations: 119.3 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.2264, allocations: 7.938 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.2265, allocations: 38.56 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.393e-06/0.2265, allocations: 0 / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.0004416/0.2269, allocations: 281.8 kB / 1.063 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.227, allocations: 140.4 kB / 1.063 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.2272, allocations: 234.6 kB / 1.063 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.2272, allocations: 33.7 kB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.832e-05/0.2273, allocations: 188.1 kB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.184e-05/0.2273, allocations: 114.3 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.02e-05/0.2274, allocations: 65.98 kB / 1.063 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.182e-05/0.2275, allocations: 346.8 kB / 1.064 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.2276, allocations: 68.72 kB / 1.064 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.2278, allocations: 150 kB / 1.064 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002466/0.228, allocations: 232.4 kB / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.228, allocations: 0 / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003505/0.2284, allocations: 305.1 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.2284, allocations: 8 kB / 1.064 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.2284, allocations: 0 / 1.064 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.2284, allocations: 4 kB / 1.064 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.2287, allocations: 91.89 kB / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.2287, allocations: 4 kB / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.2289, allocations: 31.59 kB / 1.064 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.2289, allocations: 16 kB / 1.064 GB, free: 12 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (45): * Single equations (assignments): 45 * 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.0001062/0.229, allocations: 149.7 kB / 1.065 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.051e-05/0.2291, allocations: 35.69 kB / 1.065 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.127e-05/0.2291, allocations: 33.7 kB / 1.065 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2291, allocations: 4 kB / 1.065 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2292, allocations: 0 / 1.065 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.2292, allocations: 7.984 kB / 1.065 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004356/0.2296, allocations: 341.3 kB / 1.065 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.2296, allocations: 3.938 kB / 1.065 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003278/0.2299, allocations: 83.89 kB / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.23, allocations: 4 kB / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.23, allocations: 8 kB / 1.065 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.23, allocations: 4 kB / 1.065 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.23, allocations: 4 kB / 1.065 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004517/0.2305, allocations: 0.6268 MB / 1.066 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.03e-05/0.2305, allocations: 120.9 kB / 1.066 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.2306, allocations: 8 kB / 1.066 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.2308, allocations: 15.94 kB / 1.066 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.2308, allocations: 19.92 kB / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.2308, allocations: 16.05 kB / 1.066 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001231/0.231, allocations: 174 kB / 1.066 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.231, allocations: 0 / 1.066 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004067/0.2314, allocations: 95.69 kB / 1.066 GB, free: 10.18 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (heaCapGla01.TUns,heaCapUns2.T,heaCapGlaNoSha.TUns,heaCapUns3.T,heaCapGla.TUns,heaCapGla.TSha,heaCapSha1.T,heaCapUns1.T,heaCapGla01.TSha,heaCapSha2.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 (30): * Single equations (assignments): 30 * 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.000647/0.232, allocations: 1.173 MB / 1.067 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002871/0.2323, allocations: 217.2 kB / 1.068 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2323, allocations: 0 / 1.068 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.2325, allocations: 104.2 kB / 1.068 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005573/0.233, allocations: 44.67 kB / 1.068 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003269/0.2363, allocations: 3.562 MB / 1.071 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.2366, allocations: 0.795 MB / 1.072 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.689e-05/0.2367, allocations: 26.97 kB / 1.072 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.2368, allocations: 103.4 kB / 1.072 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of SimCode: time 1.283e-06/0.2368, allocations: 4 kB / 1.072 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3071/0.5439, allocations: 5.635 MB / 1.078 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.415/8.959, allocations: 11.17 kB / 1.078 GB, free: 14.51 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches