Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.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.0007633/0.0007633, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007683/0.0007683, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.837/0.837, 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.668/1.668, allocations: 377.9 MB / 0.6221 GB, free: 8.637 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.HeatCapacityConstantShade,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.981 GB, free: 2.543 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.281e-05/1.416e-05, allocations: 2.281 kB / 0.981 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade): time 0.002501/0.002515, allocations: 2.832 MB / 0.9837 GB, free: 15.7 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.0009989/0.003514, allocations: 0.8995 MB / 0.9846 GB, free: 14.79 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.003642, allocations: 8 kB / 0.9846 GB, free: 14.78 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003442/0.003986, allocations: 119 kB / 0.9847 GB, free: 14.66 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.004117, allocations: 142.7 kB / 0.9849 GB, free: 14.52 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001017/0.004218, allocations: 99.8 kB / 0.985 GB, free: 14.43 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.004493, allocations: 469.5 kB / 0.9854 GB, free: 13.96 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.004656, allocations: 106.4 kB / 0.9855 GB, free: 13.86 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.004828, allocations: 247.5 kB / 0.9858 GB, free: 13.62 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.004967, allocations: 135.5 kB / 0.9859 GB, free: 13.48 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.657e-05/0.005004, allocations: 32 kB / 0.9859 GB, free: 13.45 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.919e-05/0.005033, allocations: 28 kB / 0.9859 GB, free: 13.43 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.337e-05/0.005076, allocations: 75.67 kB / 0.986 GB, free: 13.35 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.162e-05/0.005158, allocations: 139.7 kB / 0.9861 GB, free: 13.21 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.005412, allocations: 402.6 kB / 0.9865 GB, free: 12.82 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.005414, allocations: 0 / 0.9865 GB, free: 12.82 MB / 0.948 GB Notification: Performance of FrontEnd: time 7.02e-07/0.005414, allocations: 4 kB / 0.9865 GB, free: 12.82 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.005419, allocations: 0 / 0.9865 GB, free: 12.82 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0005901/0.006009, allocations: 0.5561 MB / 0.9871 GB, free: 12.23 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.006046, allocations: 16.03 kB / 0.9871 GB, free: 12.21 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.254e-05/0.006099, allocations: 78.66 kB / 0.9872 GB, free: 12.12 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.707e-05/0.006146, allocations: 44.66 kB / 0.9872 GB, free: 12.08 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.006454, allocations: 242 kB / 0.9874 GB, free: 11.82 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.006472, allocations: 33.38 kB / 0.9875 GB, free: 11.79 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.336e-05/0.006515, allocations: 44.31 kB / 0.9875 GB, free: 11.74 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.006853, allocations: 363.3 kB / 0.9879 GB, free: 11.35 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.006868, allocations: 4.188 kB / 0.9879 GB, free: 11.35 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.006888, allocations: 24.06 kB / 0.9879 GB, free: 11.32 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.006897, allocations: 8 kB / 0.9879 GB, free: 11.32 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002263/0.007123, allocations: 212.5 kB / 0.9881 GB, free: 11.11 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009321/0.008055, allocations: 1.373 MB / 0.9894 GB, free: 9.664 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.008346, allocations: 274.6 kB / 0.9897 GB, free: 9.359 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.008451, allocations: 111.3 kB / 0.9898 GB, free: 9.238 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.008467, allocations: 4 kB / 0.9898 GB, free: 9.234 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.008492, allocations: 38.56 kB / 0.9898 GB, free: 9.188 MB / 0.948 GB Notification: Performance of pre-optimization done (n=30): time 1.694e-06/0.008494, allocations: 0 / 0.9898 GB, free: 9.188 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.0003819/0.008876, allocations: 281.9 kB / 0.9901 GB, free: 8.906 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/0.008935, allocations: 136.5 kB / 0.9902 GB, free: 8.742 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.009102, allocations: 237.9 kB / 0.9905 GB, free: 8.504 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.009117, allocations: 29.7 kB / 0.9905 GB, free: 8.469 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.717e-05/0.009214, allocations: 200.5 kB / 0.9907 GB, free: 8.27 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.241e-05/0.009276, allocations: 122.9 kB / 0.9908 GB, free: 8.148 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.009425, allocations: 58.08 kB / 0.9909 GB, free: 8.082 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.009534, allocations: 338.8 kB / 0.9912 GB, free: 7.742 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.491e-05/0.009619, allocations: 68.72 kB / 0.9913 GB, free: 7.676 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.009738, allocations: 153.9 kB / 0.9914 GB, free: 7.496 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.009955, allocations: 252.4 kB / 0.9916 GB, free: 7.219 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.009959, allocations: 0 / 0.9916 GB, free: 7.219 MB / 0.948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002798/0.01024, allocations: 301.5 kB / 0.9919 GB, free: 6.918 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.01025, allocations: 4 kB / 0.9919 GB, free: 6.914 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.01026, allocations: 7.938 kB / 0.9919 GB, free: 6.906 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.01028, allocations: 7.938 kB / 0.9919 GB, free: 6.898 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.01048, allocations: 87.91 kB / 0.992 GB, free: 6.812 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.01049, allocations: 7.984 kB / 0.992 GB, free: 6.805 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.127e-05/0.01056, allocations: 31.89 kB / 0.9921 GB, free: 6.773 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.01058, allocations: 20 kB / 0.9921 GB, free: 6.754 MB / 0.948 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 9.896e-05/0.01068, allocations: 145.7 kB / 0.9922 GB, free: 6.602 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.126e-05/0.01073, allocations: 31.8 kB / 0.9923 GB, free: 6.57 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.394e-05/0.01078, allocations: 41.7 kB / 0.9923 GB, free: 6.527 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.01079, allocations: 4 kB / 0.9923 GB, free: 6.523 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.01079, allocations: 0 / 0.9923 GB, free: 6.523 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.0108, allocations: 0 / 0.9923 GB, free: 6.523 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003312/0.01113, allocations: 292.5 kB / 0.9926 GB, free: 6.195 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01113, allocations: 0 / 0.9926 GB, free: 6.195 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.01133, allocations: 79.95 kB / 0.9927 GB, free: 6.117 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.01134, allocations: 19.81 kB / 0.9927 GB, free: 6.098 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.01135, allocations: 11.94 kB / 0.9927 GB, free: 6.086 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.01135, allocations: 0 / 0.9927 GB, free: 6.086 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.01136, allocations: 4 kB / 0.9927 GB, free: 6.082 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004297/0.01179, allocations: 0.6189 MB / 0.9933 GB, free: 5.445 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.894e-05/0.01185, allocations: 47.72 kB / 0.9933 GB, free: 5.398 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.01187, allocations: 11.94 kB / 0.9934 GB, free: 5.387 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.01198, allocations: 4 kB / 0.9934 GB, free: 5.383 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.01201, allocations: 19.95 kB / 0.9934 GB, free: 5.363 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.01202, allocations: 12 kB / 0.9934 GB, free: 5.352 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001028/0.01213, allocations: 173.2 kB / 0.9936 GB, free: 5.184 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01213, allocations: 0 / 0.9936 GB, free: 5.184 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002904/0.01242, allocations: 103.8 kB / 0.9937 GB, free: 5.082 MB / 0.948 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.0006015/0.01302, allocations: 1.171 MB / 0.9948 GB, free: 3.891 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000224/0.01324, allocations: 200.1 kB / 0.995 GB, free: 3.695 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01324, allocations: 0 / 0.995 GB, free: 3.695 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.707e-05/0.01332, allocations: 87.84 kB / 0.9951 GB, free: 3.609 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.01373, allocations: 52.64 kB / 0.9951 GB, free: 3.559 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/0.01633, allocations: 3.36 MB / 0.9984 GB, free: 52 kB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.01647, allocations: 185.1 kB / 0.9986 GB, free: 15.84 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 7.024e-05/0.01654, allocations: 34.95 kB / 0.9986 GB, free: 15.81 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.01664, allocations: 108.4 kB / 0.9987 GB, free: 15.71 MB / 0.9636 GB Notification: Performance of SimCode: time 4e-07/0.01665, allocations: 384 / 0.9987 GB, free: 15.71 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01705/0.0337, allocations: 6.581 MB / 1.005 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.538/6.572, allocations: 2.344 kB / 1.005 GB, free: 9.344 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.fmu > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.423125084489584]