Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.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.HeatCapacityVariableShadeDT,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT",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.001529/0.001529, 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.0017/0.0017, allocations: 196.7 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.202/1.202, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.362/2.362, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 65.58 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2383, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT): time 0.003086/0.2414, allocations: 2.233 MB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008649/0.2423, allocations: 0.7245 MB / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.401e-05/0.2424, allocations: 7.938 kB / 1.056 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003198/0.2427, allocations: 91.39 kB / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.709e-05/0.2429, allocations: 63.47 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.813e-05/0.2429, allocations: 39.89 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.2431, allocations: 203.1 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.2433, allocations: 78.42 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.78e-05/0.2434, allocations: 79.66 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.2435, allocations: 87.61 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.2435, allocations: 20 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.986e-05/0.2436, allocations: 16 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.44e-05/0.2436, allocations: 39.78 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.922e-05/0.2437, allocations: 87.53 kB / 1.057 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.2439, allocations: 183.4 kB / 1.057 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.2439, allocations: 0 / 1.057 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.415e-06/0.2439, allocations: 0 / 1.057 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.2439, allocations: 3.938 kB / 1.057 GB, free: 4.348 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006176/0.2445, allocations: 494.6 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.2445, allocations: 8.625 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.302e-05/0.2446, allocations: 54.73 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.2446, allocations: 16.75 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.2449, allocations: 245.2 kB / 1.058 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.2449, allocations: 8.375 kB / 1.058 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.245, allocations: 28.36 kB / 1.058 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002712/0.2452, allocations: 149.5 kB / 1.058 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.2453, allocations: 0 / 1.058 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.2453, allocations: 8 kB / 1.058 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.2453, allocations: 3.938 kB / 1.058 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002742/0.2456, allocations: 111.9 kB / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006065/0.2462, allocations: 0.4961 MB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/0.2466, allocations: 162.8 kB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.2467, allocations: 76.81 kB / 1.059 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.2467, allocations: 4 kB / 1.059 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.2468, allocations: 34.56 kB / 1.059 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.2468, allocations: 4 kB / 1.059 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15): time 0.000474/0.2473, allocations: 206.9 kB / 1.059 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.2473, allocations: 51.41 kB / 1.059 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.2474, allocations: 159.3 kB / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.2474, allocations: 25.7 kB / 1.059 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.785e-05/0.2475, allocations: 124.2 kB / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/0.2475, allocations: 55.25 kB / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.2476, allocations: 37.66 kB / 1.059 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.793e-05/0.2477, allocations: 330.8 kB / 1.06 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.2478, allocations: 47.88 kB / 1.06 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.2479, allocations: 51.97 kB / 1.06 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.2482, allocations: 118.4 kB / 1.06 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2482, allocations: 4 kB / 1.06 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002969/0.2485, allocations: 157.5 kB / 1.06 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.2485, allocations: 5.094 kB / 1.06 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-06/0.2485, allocations: 0 / 1.06 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.2485, allocations: 0 / 1.06 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.2487, allocations: 51.89 kB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.2487, allocations: 3.984 kB / 1.06 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.442e-05/0.2488, allocations: 7.906 kB / 1.06 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.2488, allocations: 12 kB / 1.06 GB, free: 0.8203 MB / 0.8106 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 8.217e-05/0.2489, allocations: 129.8 kB / 1.06 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/0.249, allocations: 15.81 kB / 1.06 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.6e-05/0.249, allocations: 17.53 kB / 1.06 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.249, allocations: 4 kB / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.249, allocations: 0 / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.249, allocations: 0 / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.2493, allocations: 253.4 kB / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2493, allocations: 0 / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.2495, allocations: 47.91 kB / 1.06 GB, free: 312 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2495, allocations: 0 / 1.06 GB, free: 312 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.2495, allocations: 4 kB / 1.06 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2495, allocations: 4 kB / 1.06 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2495, allocations: 0 / 1.06 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004675/0.25, allocations: 317.3 kB / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.341e-05/0.2501, allocations: 104.9 kB / 1.061 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.2501, allocations: 0 / 1.061 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.2502, allocations: 8 kB / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.2502, allocations: 7.984 kB / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.2502, allocations: 4 kB / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.02e-05/0.2503, allocations: 120 kB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.084e-06/0.2503, allocations: 0 / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002482/0.2506, allocations: 47.78 kB / 1.061 GB, free: 15.66 MB / 0.8262 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.0006992/0.2513, allocations: 0.8643 MB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003044/0.2516, allocations: 128.6 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2516, allocations: 4 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.2518, allocations: 67.89 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.2521, allocations: 20 kB / 1.062 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.2543, allocations: 2.1 MB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.2545, allocations: 0.7202 MB / 1.065 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.935e-05/0.2546, allocations: 21.53 kB / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.16e-05/0.2547, allocations: 59.41 kB / 1.065 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2547, allocations: 0 / 1.065 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.342/1.596, allocations: 3.336 MB / 1.068 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.295/10.89, allocations: 2.312 kB / 1.068 GB, free: 8.406 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches