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.006004/0.006004, allocations: 100.2 kB / 15.73 MB, free: 6.043 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.001264/0.001264, allocations: 196.2 kB / 16.67 MB, free: 5.977 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.741/2.741, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 59.91 kB / 1.054 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3119, allocations: 157.4 MB / 1.207 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT): time 0.004025/0.316, allocations: 2.244 MB / 1.209 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.3174, allocations: 0.7206 MB / 1.21 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001893/0.3176, allocations: 4 kB / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004674/0.3181, allocations: 99.39 kB / 1.21 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.3183, allocations: 67.47 kB / 1.21 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00013/0.3185, allocations: 43.89 kB / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000271/0.3187, allocations: 203 kB / 1.211 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.319, allocations: 78.42 kB / 1.211 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.3191, allocations: 83.66 kB / 1.211 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.3193, allocations: 83.61 kB / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.254e-05/0.3194, allocations: 16 kB / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.3e-05/0.3194, allocations: 16 kB / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.329e-05/0.3194, allocations: 39.78 kB / 1.211 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.076e-05/0.3195, allocations: 91.53 kB / 1.211 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.3198, allocations: 183.3 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3198, allocations: 4 kB / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3198, allocations: 0 / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.3198, allocations: 3.938 kB / 1.211 GB, free: 6.098 MB / 0.9669 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.0007823/0.3206, allocations: 494.6 kB / 1.212 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.3207, allocations: 8.625 kB / 1.212 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.937e-05/0.3207, allocations: 50.73 kB / 1.212 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.201e-05/0.3208, allocations: 28.66 kB / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.3212, allocations: 244.6 kB / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.3212, allocations: 8.375 kB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/0.3213, allocations: 28.22 kB / 1.212 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/0.3216, allocations: 145.5 kB / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.3216, allocations: 0 / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.3217, allocations: 8 kB / 1.212 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3217, allocations: 7.938 kB / 1.212 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.322, allocations: 117.5 kB / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007107/0.3227, allocations: 496 kB / 1.213 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004199/0.3231, allocations: 162.8 kB / 1.213 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.3233, allocations: 80.75 kB / 1.213 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.3233, allocations: 0 / 1.213 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.3234, allocations: 34.56 kB / 1.213 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=15): time 1.052e-06/0.3234, allocations: 0 / 1.213 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15): time 0.0005196/0.3239, allocations: 198.9 kB / 1.213 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.3239, allocations: 55.41 kB / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.3241, allocations: 152.1 kB / 1.213 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.3241, allocations: 25.7 kB / 1.213 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.893e-05/0.3242, allocations: 132.1 kB / 1.214 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.205e-05/0.3242, allocations: 55.27 kB / 1.214 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.3243, allocations: 37.66 kB / 1.214 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.3244, allocations: 326.8 kB / 1.214 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.3246, allocations: 47.97 kB / 1.214 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.3247, allocations: 49.22 kB / 1.214 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.325, allocations: 114.3 kB / 1.214 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.325, allocations: 0 / 1.214 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003356/0.3253, allocations: 167.1 kB / 1.214 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3253, allocations: 4 kB / 1.214 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3254, allocations: 0 / 1.214 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3254, allocations: 4 kB / 1.214 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.3255, allocations: 39.91 kB / 1.214 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.3256, allocations: 4 kB / 1.214 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.984e-05/0.3257, allocations: 15.89 kB / 1.214 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.3257, allocations: 11.94 kB / 1.214 GB, free: 2.586 MB / 0.9669 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 0.000107/0.3258, allocations: 121.8 kB / 1.214 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.3258, allocations: 11.91 kB / 1.214 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.475e-05/0.3259, allocations: 25.52 kB / 1.215 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3259, allocations: 3.938 kB / 1.215 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3259, allocations: 0 / 1.215 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3259, allocations: 3.984 kB / 1.215 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/0.3262, allocations: 257.4 kB / 1.215 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3262, allocations: 7.938 kB / 1.215 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.3264, allocations: 35.97 kB / 1.215 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.3264, allocations: 4 kB / 1.215 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.3265, allocations: 8 kB / 1.215 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3265, allocations: 0 / 1.215 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3265, allocations: 0 / 1.215 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005248/0.327, allocations: 328.6 kB / 1.215 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.252e-05/0.3271, allocations: 96.95 kB / 1.215 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.3271, allocations: 4 kB / 1.215 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.3272, allocations: 8 kB / 1.215 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.3273, allocations: 7.984 kB / 1.215 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.3273, allocations: 4 kB / 1.215 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.633e-05/0.3274, allocations: 120.2 kB / 1.215 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3274, allocations: 0 / 1.215 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002617/0.3277, allocations: 39.94 kB / 1.215 GB, free: 1.426 MB / 0.9669 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.0007981/0.3285, allocations: 0.8589 MB / 1.216 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003323/0.3288, allocations: 125.3 kB / 1.216 GB, free: 432 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3288, allocations: 0 / 1.216 GB, free: 432 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.329, allocations: 63.89 kB / 1.216 GB, free: 368 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.3293, allocations: 20 kB / 1.216 GB, free: 348 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.332, allocations: 2.116 MB / 1.219 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.3323, allocations: 0.7241 MB / 1.219 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.765e-05/0.3324, allocations: 17.55 kB / 1.219 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.115e-05/0.3324, allocations: 51.42 kB / 1.219 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.3324, allocations: 0 / 1.219 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02156/0.354, allocations: 3.45 MB / 1.223 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.931/8.285, allocations: 8.422 kB / 1.223 GB, free: 10.07 MB / 0.9825 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