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.001485/0.001485, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001604/0.001604, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.41/1.41, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.798/2.798, allocations: 0.49 GB / 0.7923 GB, free: 1.324 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade",fmuType="cs",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.001919/0.001919, allocations: 63.89 kB / 1.15 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9125/0.9144, allocations: 176.1 MB / 1.321 GB, free: 24.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade): time 0.00323/0.9176, allocations: 3.056 MB / 1.324 GB, free: 22.58 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.9187, allocations: 0.9381 MB / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.9188, allocations: 8.469 kB / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003857/0.9192, allocations: 130.1 kB / 1.326 GB, free: 21.83 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.9194, allocations: 140.6 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001243/0.9195, allocations: 89.95 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003072/0.9198, allocations: 456.5 kB / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.92, allocations: 109.4 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.9201, allocations: 165.5 kB / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.9203, allocations: 181.9 kB / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.901e-05/0.9203, allocations: 30.47 kB / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.871e-05/0.9204, allocations: 31.25 kB / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.721e-05/0.9204, allocations: 84.91 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.9206, allocations: 193.5 kB / 1.327 GB, free: 21.06 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003419/0.9209, allocations: 401.6 kB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.9209, allocations: 0 / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9209, allocations: 0 / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.9209, allocations: 0.6875 kB / 1.327 GB, free: 20.9 MB / 1.061 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.0008535/0.9218, allocations: 0.6488 MB / 1.328 GB, free: 20.36 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.9218, allocations: 17.78 kB / 1.328 GB, free: 20.36 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.796e-05/0.9218, allocations: 9.438 kB / 1.328 GB, free: 20.36 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.564e-05/0.9219, allocations: 72.3 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.273e-05/0.922, allocations: 42.92 kB / 1.328 GB, free: 20.27 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/0.9224, allocations: 320.7 kB / 1.328 GB, free: 19.99 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.9224, allocations: 30.62 kB / 1.328 GB, free: 19.98 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.993e-05/0.9225, allocations: 39.78 kB / 1.328 GB, free: 19.96 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004815/0.9229, allocations: 379.1 kB / 1.329 GB, free: 19.73 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.923, allocations: 6.203 kB / 1.329 GB, free: 19.73 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.923, allocations: 11.31 kB / 1.329 GB, free: 19.72 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.923, allocations: 8.531 kB / 1.329 GB, free: 19.72 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003528/0.9234, allocations: 208.6 kB / 1.329 GB, free: 19.65 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.9246, allocations: 1.479 MB / 1.33 GB, free: 18.46 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003628/0.9249, allocations: 269.4 kB / 1.331 GB, free: 18.29 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.9251, allocations: 115.4 kB / 1.331 GB, free: 18.22 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.9251, allocations: 7.078 kB / 1.331 GB, free: 18.22 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.9251, allocations: 41.25 kB / 1.331 GB, free: 18.17 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/0.9251, allocations: 0.5938 kB / 1.331 GB, free: 18.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.0005092/0.9256, allocations: 281.1 kB / 1.331 GB, free: 18.04 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.9257, allocations: 132.3 kB / 1.331 GB, free: 17.89 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.9259, allocations: 237 kB / 1.332 GB, free: 17.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.9259, allocations: 30.64 kB / 1.332 GB, free: 17.71 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.318e-05/0.926, allocations: 192 kB / 1.332 GB, free: 17.55 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.407e-05/0.926, allocations: 118.7 kB / 1.332 GB, free: 17.46 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.767e-05/0.9261, allocations: 61.84 kB / 1.332 GB, free: 17.41 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.677e-05/0.9262, allocations: 342.7 kB / 1.332 GB, free: 17.09 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.9263, allocations: 71.72 kB / 1.332 GB, free: 17.06 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.9265, allocations: 152.5 kB / 1.332 GB, free: 16.95 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.9267, allocations: 235 kB / 1.333 GB, free: 16.78 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.9267, allocations: 0.8125 kB / 1.333 GB, free: 16.78 MB / 1.061 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003919/0.9271, allocations: 304.8 kB / 1.333 GB, free: 16.64 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.9271, allocations: 6.375 kB / 1.333 GB, free: 16.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.9271, allocations: 3.031 kB / 1.333 GB, free: 16.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.9272, allocations: 3.875 kB / 1.333 GB, free: 16.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003193/0.9275, allocations: 94.52 kB / 1.333 GB, free: 16.62 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.9275, allocations: 4.219 kB / 1.333 GB, free: 16.62 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.9276, allocations: 35.95 kB / 1.333 GB, free: 16.6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.9276, allocations: 13.91 kB / 1.333 GB, free: 16.59 MB / 1.061 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.69e-05/0.9277, allocations: 149.8 kB / 1.333 GB, free: 16.45 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.652e-05/0.9278, allocations: 38.2 kB / 1.333 GB, free: 16.43 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.019e-05/0.9279, allocations: 31.69 kB / 1.333 GB, free: 16.4 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.9279, allocations: 4.453 kB / 1.333 GB, free: 16.4 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.9279, allocations: 2.344 kB / 1.333 GB, free: 16.4 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.9279, allocations: 6.125 kB / 1.333 GB, free: 16.4 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00049/0.9284, allocations: 349.8 kB / 1.334 GB, free: 16.13 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.9284, allocations: 1.312 kB / 1.334 GB, free: 16.13 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003598/0.9288, allocations: 82.66 kB / 1.334 GB, free: 16.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.9288, allocations: 3.312 kB / 1.334 GB, free: 16.12 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.9288, allocations: 6.891 kB / 1.334 GB, free: 16.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.9288, allocations: 10.16 kB / 1.334 GB, free: 16.11 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.9288, allocations: 5.812 kB / 1.334 GB, free: 16.11 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004885/0.9293, allocations: 0.6258 MB / 1.334 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.208e-05/0.9294, allocations: 115.5 kB / 1.335 GB, free: 15.53 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/0.9294, allocations: 7.719 kB / 1.335 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.9296, allocations: 9.766 kB / 1.335 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.9297, allocations: 24 kB / 1.335 GB, free: 15.51 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.9297, allocations: 7.25 kB / 1.335 GB, free: 15.51 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001348/0.9298, allocations: 175.3 kB / 1.335 GB, free: 15.4 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9298, allocations: 0 / 1.335 GB, free: 15.4 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004804/0.9303, allocations: 98.38 kB / 1.335 GB, free: 15.38 MB / 1.061 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.0006767/0.931, allocations: 1.175 MB / 1.336 GB, free: 14.38 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003484/0.9313, allocations: 203.2 kB / 1.336 GB, free: 14.3 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.9313, allocations: 320 / 1.336 GB, free: 14.3 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.9315, allocations: 93.72 kB / 1.336 GB, free: 14.27 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000611/0.9321, allocations: 49.27 kB / 1.336 GB, free: 14.25 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003595/0.9357, allocations: 3.569 MB / 1.34 GB, free: 11.63 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.9359, allocations: 0.793 MB / 1.341 GB, free: 10.93 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001211/0.936, allocations: 33.34 kB / 1.341 GB, free: 10.92 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.9361, allocations: 107.1 kB / 1.341 GB, free: 10.84 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.9361, allocations: 0 / 1.341 GB, free: 10.84 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.9615, allocations: 5.847 MB / 1.346 GB, free: 10.11 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.551/9.513, allocations: 3.812 kB / 1.346 GB, free: 10.11 MB / 1.061 GB " [Timeout remaining time 290] (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.675824796024244]