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.001504/0.001504, allocations: 102.7 kB / 16.45 MB, free: 6.449 MB / 14.72 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.001746/0.001746, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 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 1.391/1.391, allocations: 230.6 MB / 252.8 MB, free: 9.141 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.082/3.082, allocations: 0.49 GB / 0.7916 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 76.14 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3311, allocations: 176.1 MB / 1.321 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade): time 0.005098/0.3362, allocations: 3.042 MB / 1.324 GB, free: 288 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002015/0.3382, allocations: 0.9464 MB / 1.325 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00034/0.3385, allocations: 8 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005789/0.3391, allocations: 131.1 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000417/0.3395, allocations: 142.8 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.3397, allocations: 87.88 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006776/0.3404, allocations: 453.8 kB / 1.326 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002626/0.3407, allocations: 105.9 kB / 1.326 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003008/0.341, allocations: 171.4 kB / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003056/0.3413, allocations: 175.2 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.207e-05/0.3414, allocations: 32 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.198e-05/0.3414, allocations: 32 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.397e-05/0.3415, allocations: 71.7 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002365/0.3417, allocations: 211 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005081/0.3423, allocations: 398.3 kB / 1.327 GB, free: 13.34 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3423, allocations: 0 / 1.327 GB, free: 13.34 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3423, allocations: 0 / 1.327 GB, free: 13.34 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.709e-05/0.3423, allocations: 0 / 1.327 GB, free: 13.34 MB / 1.029 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.001133/0.3434, allocations: 0.6548 MB / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3435, allocations: 11.98 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.576e-05/0.3435, allocations: 70.72 kB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.963e-05/0.3436, allocations: 40.7 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005827/0.3442, allocations: 328.4 kB / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.3442, allocations: 29.38 kB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.547e-05/0.3443, allocations: 36.38 kB / 1.328 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005823/0.3449, allocations: 362.9 kB / 1.328 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.3449, allocations: 7.953 kB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.3449, allocations: 16 kB / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.345, allocations: 12 kB / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003822/0.3453, allocations: 204.6 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.3471, allocations: 1.478 MB / 1.33 GB, free: 9.895 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004445/0.3476, allocations: 274.6 kB / 1.33 GB, free: 9.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.3477, allocations: 115.3 kB / 1.33 GB, free: 9.465 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.3477, allocations: 3.938 kB / 1.33 GB, free: 9.461 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.3478, allocations: 38.56 kB / 1.33 GB, free: 9.414 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.463e-06/0.3478, allocations: 0 / 1.33 GB, free: 9.414 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.0005842/0.3484, allocations: 281.2 kB / 1.33 GB, free: 9.133 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.51e-05/0.3484, allocations: 140.5 kB / 1.331 GB, free: 8.965 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.3487, allocations: 234.6 kB / 1.331 GB, free: 8.727 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.3488, allocations: 29.7 kB / 1.331 GB, free: 8.691 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.3489, allocations: 188.5 kB / 1.331 GB, free: 8.504 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.349, allocations: 130.9 kB / 1.331 GB, free: 8.375 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.935e-05/0.3491, allocations: 54.08 kB / 1.331 GB, free: 8.312 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.3493, allocations: 342.8 kB / 1.332 GB, free: 7.969 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.3494, allocations: 72.72 kB / 1.332 GB, free: 7.898 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.3496, allocations: 150.7 kB / 1.332 GB, free: 7.723 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003333/0.35, allocations: 240.4 kB / 1.332 GB, free: 7.457 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.35, allocations: 4 kB / 1.332 GB, free: 7.453 MB / 1.029 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004539/0.3504, allocations: 301.2 kB / 1.332 GB, free: 7.152 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.3504, allocations: 8 kB / 1.332 GB, free: 7.145 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.3504, allocations: 8.156 kB / 1.332 GB, free: 7.137 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3505, allocations: 4 kB / 1.332 GB, free: 7.133 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/0.3508, allocations: 95.83 kB / 1.332 GB, free: 7.039 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.3508, allocations: 4 kB / 1.332 GB, free: 7.035 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.351, allocations: 35.73 kB / 1.332 GB, free: 7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.351, allocations: 12 kB / 1.332 GB, free: 6.988 MB / 1.029 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.000158/0.3511, allocations: 149.7 kB / 1.333 GB, free: 6.832 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.3512, allocations: 35.75 kB / 1.333 GB, free: 6.797 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.179e-05/0.3513, allocations: 37.64 kB / 1.333 GB, free: 6.754 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3513, allocations: 11.94 kB / 1.333 GB, free: 6.742 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.3513, allocations: 4 kB / 1.333 GB, free: 6.738 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.3513, allocations: 7.969 kB / 1.333 GB, free: 6.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005686/0.3519, allocations: 337.4 kB / 1.333 GB, free: 6.352 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3519, allocations: 3.938 kB / 1.333 GB, free: 6.348 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003652/0.3523, allocations: 79.95 kB / 1.333 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3523, allocations: 0 / 1.333 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.3523, allocations: 8 kB / 1.333 GB, free: 6.262 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.3523, allocations: 7.938 kB / 1.333 GB, free: 6.254 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3523, allocations: 0 / 1.333 GB, free: 6.254 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006752/0.353, allocations: 0.6305 MB / 1.334 GB, free: 5.605 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.3531, allocations: 124.8 kB / 1.334 GB, free: 5.465 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.3532, allocations: 4.094 kB / 1.334 GB, free: 5.461 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.3534, allocations: 11.94 kB / 1.334 GB, free: 5.449 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.3534, allocations: 11.98 kB / 1.334 GB, free: 5.438 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.3534, allocations: 19.98 kB / 1.334 GB, free: 5.418 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001642/0.3536, allocations: 170 kB / 1.334 GB, free: 5.254 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3536, allocations: 0 / 1.334 GB, free: 5.254 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004814/0.3541, allocations: 99.84 kB / 1.334 GB, free: 5.156 MB / 1.029 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.0009863/0.3551, allocations: 1.177 MB / 1.335 GB, free: 3.953 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003477/0.3554, allocations: 200 kB / 1.335 GB, free: 3.758 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3554, allocations: 0 / 1.335 GB, free: 3.758 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.3556, allocations: 96.03 kB / 1.336 GB, free: 3.664 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005849/0.3561, allocations: 46.03 kB / 1.336 GB, free: 3.621 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004277/0.3604, allocations: 3.573 MB / 1.339 GB, free: 15.91 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.3609, allocations: 0.791 MB / 1.34 GB, free: 15.09 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001024/0.361, allocations: 26.97 kB / 1.34 GB, free: 15.06 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.3611, allocations: 111.4 kB / 1.34 GB, free: 14.95 MB / 1.045 GB Notification: Performance of SimCode: time 5.11e-07/0.3611, allocations: 4 kB / 1.34 GB, free: 14.95 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03157/0.3927, allocations: 5.794 MB / 1.346 GB, free: 9.344 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.406/8.799, allocations: 18.42 kB / 1.346 GB, free: 9.328 MB / 1.045 GB " [Timeout remaining time 291] (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/jenkins1/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: 15.164338886970654]