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.001689/0.00169, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002723/0.002723, allocations: 190.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.268/2.268, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.821/4.821, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 61.97 kB / 0.8987 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3744, allocations: 157.4 MB / 1.052 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT): time 0.003564/0.378, allocations: 2.294 MB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.3792, allocations: 0.7051 MB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.3794, allocations: 4 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004196/0.3799, allocations: 95.45 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.38, allocations: 59.59 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.508e-05/0.3801, allocations: 27.98 kB / 1.056 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.3804, allocations: 215 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.3805, allocations: 74.44 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.3807, allocations: 79.64 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.3808, allocations: 83.62 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.3808, allocations: 12 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.909e-05/0.3809, allocations: 16 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.961e-05/0.3809, allocations: 43.78 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.849e-05/0.381, allocations: 95.53 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.3812, allocations: 179.4 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.3812, allocations: 7.875 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3812, allocations: 0 / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.3812, allocations: 0 / 1.056 GB, free: 4.629 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.0007208/0.382, allocations: 490.6 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.382, allocations: 16.62 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.889e-05/0.3821, allocations: 46.73 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.3821, allocations: 20.75 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.3825, allocations: 245.2 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.3825, allocations: 12.38 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.3825, allocations: 12.38 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003037/0.3828, allocations: 145.5 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.3829, allocations: 7.938 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.3829, allocations: 12 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.3829, allocations: 7.984 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002817/0.3832, allocations: 111.9 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006945/0.3839, allocations: 0.4999 MB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003991/0.3843, allocations: 158.8 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.3845, allocations: 76.81 kB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.3845, allocations: 4 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.3845, allocations: 30.56 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.3845, allocations: 3.938 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15): time 0.0004732/0.385, allocations: 199.8 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.385, allocations: 55.41 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.3852, allocations: 159.3 kB / 1.059 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.3852, allocations: 25.7 kB / 1.059 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.989e-05/0.3852, allocations: 132.2 kB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.3853, allocations: 51.27 kB / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.713e-05/0.3853, allocations: 25.72 kB / 1.059 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.3855, allocations: 330.8 kB / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.3856, allocations: 51.88 kB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.3857, allocations: 51.95 kB / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.3859, allocations: 114.3 kB / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.386, allocations: 0 / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002962/0.3863, allocations: 163.3 kB / 1.059 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.3863, allocations: 8 kB / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.3863, allocations: 0 / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.3863, allocations: 0 / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.3865, allocations: 43.91 kB / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3865, allocations: 3.938 kB / 1.059 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.812e-05/0.3866, allocations: 19.89 kB / 1.059 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.3866, allocations: 8 kB / 1.059 GB, free: 1.113 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 9.103e-05/0.3867, allocations: 135.3 kB / 1.06 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.3867, allocations: 11.81 kB / 1.06 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.078e-05/0.3868, allocations: 17.53 kB / 1.06 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3868, allocations: 0 / 1.06 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.3868, allocations: 7.984 kB / 1.06 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3868, allocations: 3.984 kB / 1.06 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.3871, allocations: 253.5 kB / 1.06 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3871, allocations: 0 / 1.06 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/0.3873, allocations: 43.91 kB / 1.06 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3873, allocations: 0 / 1.06 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.3873, allocations: 8 kB / 1.06 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3873, allocations: 0 / 1.06 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3873, allocations: 0 / 1.06 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004662/0.3878, allocations: 315.1 kB / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.577e-05/0.3879, allocations: 101 kB / 1.06 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.3879, allocations: 4 kB / 1.06 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.388, allocations: 11.98 kB / 1.06 GB, free: 132 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.3881, allocations: 11.98 kB / 1.06 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.3881, allocations: 4 kB / 1.06 GB, free: 116 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.073e-05/0.3882, allocations: 120.9 kB / 1.06 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3882, allocations: 7.938 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002495/0.3884, allocations: 43.78 kB / 1.061 GB, free: 15.95 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.0007084/0.3891, allocations: 0.8472 MB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002999/0.3895, allocations: 127.9 kB / 1.061 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3895, allocations: 4 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.3896, allocations: 71.84 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.39, allocations: 27.97 kB / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002636/0.3926, allocations: 2.164 MB / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006523/0.3933, allocations: 0.7241 MB / 1.064 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.488e-05/0.3934, allocations: 17.55 kB / 1.064 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.6e-05/0.3934, allocations: 53.81 kB / 1.064 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of SimCode: time 5.71e-07/0.3935, allocations: 0 / 1.064 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.418/1.811, allocations: 3.202 MB / 1.068 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003891/1.812, allocations: 249.3 kB / 1.068 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.018/5.829, allocations: 1.375 kB / 1.068 GB, free: 8.551 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