Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.Examples.CenterOfGlass,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass",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.0008294/0.0008294, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005405/0.005405, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.229/1.229, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.355/2.355, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.0003228, allocations: 8 kB / 0.873 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6565/0.6568, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass): time 0.005286/0.6622, allocations: 4.713 MB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006062/0.6682, allocations: 4.577 MB / 1.032 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005837/0.6689, allocations: 19.88 kB / 1.032 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.6703, allocations: 0.562 MB / 1.033 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001048/0.6714, allocations: 369.6 kB / 1.033 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.673, allocations: 0.6446 MB / 1.034 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002113/0.6751, allocations: 1.904 MB / 1.036 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006997/0.6759, allocations: 0.5191 MB / 1.036 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007034/0.6766, allocations: 0.5367 MB / 1.037 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007538/0.6773, allocations: 0.6727 MB / 1.037 GB, free: 1.262 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.6774, allocations: 64 kB / 1.037 GB, free: 1.199 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006113/0.6781, allocations: 307.8 kB / 1.038 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002171/0.6783, allocations: 262.8 kB / 1.038 GB, free: 0.6406 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005572/0.6789, allocations: 0.6351 MB / 1.039 GB, free: 15.99 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.6804, allocations: 1.927 MB / 1.04 GB, free: 14.06 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.6805, allocations: 4 kB / 1.04 GB, free: 14.06 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6805, allocations: 0 / 1.04 GB, free: 14.06 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.6805, allocations: 0 / 1.04 GB, free: 14.06 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.002872/0.6834, allocations: 1.671 MB / 1.042 GB, free: 12.33 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.6834, allocations: 12.03 kB / 1.042 GB, free: 12.32 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00014/0.6836, allocations: 118.7 kB / 1.042 GB, free: 12.2 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02691/0.7105, allocations: 3.877 MB / 1.046 GB, free: 8.312 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0275/0.738, allocations: 3.809 MB / 1.05 GB, free: 4.445 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.64e-05/0.7382, allocations: 58.38 kB / 1.05 GB, free: 4.387 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000657/0.7388, allocations: 80.38 kB / 1.05 GB, free: 4.309 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006361/0.7452, allocations: 2.036 MB / 1.052 GB, free: 2.266 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.7452, allocations: 0 / 1.052 GB, free: 2.266 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/0.7454, allocations: 28 kB / 1.052 GB, free: 2.238 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.7454, allocations: 27.92 kB / 1.052 GB, free: 2.211 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005721/0.7511, allocations: 1.741 MB / 1.054 GB, free: 480 kB / 0.795 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009314/0.7605, allocations: 7.365 MB / 1.061 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005702/0.7662, allocations: 1.828 MB / 1.063 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005192/0.7714, allocations: 1.514 MB / 1.064 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003664/0.7718, allocations: 388.9 kB / 1.064 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.7718, allocations: 39.11 kB / 1.064 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=70): time 2.475e-06/0.7718, allocations: 7.875 kB / 1.064 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70): time 0.03641/0.8082, allocations: 8.834 MB / 1.073 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.8083, allocations: 55.97 kB / 1.073 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.8098, allocations: 1.072 MB / 1.074 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.000289/0.8101, allocations: 37.7 kB / 1.074 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004608/0.8105, allocations: 496.8 kB / 1.075 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002876/0.8108, allocations: 240.5 kB / 1.075 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002634/0.8111, allocations: 57.69 kB / 1.075 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.8112, allocations: 341.9 kB / 1.075 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009708/0.8209, allocations: 2.319 MB / 1.078 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009692/0.8306, allocations: 2.441 MB / 1.08 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01409/0.8448, allocations: 3.265 MB / 1.083 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.8448, allocations: 0 / 1.083 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.02544/0.8702, allocations: 6.204 MB / 1.089 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.081e-05/0.8703, allocations: 103.9 kB / 1.089 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02013/0.8905, allocations: 4.916 MB / 1.094 GB, free: 5.898 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09428/0.9848, allocations: 10.48 MB / 1.104 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00391/0.9887, allocations: 383.5 kB / 1.105 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007814/0.9966, allocations: 3.064 MB / 1.108 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004975/1.002, allocations: 414.8 kB / 1.108 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003074/1.002, allocations: 67.92 kB / 1.108 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/1.002, allocations: 4 kB / 1.108 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02092/1.023, allocations: 5.164 MB / 1.113 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01819/1.041, allocations: 4.56 MB / 1.118 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002424/1.044, allocations: 0.816 MB / 1.118 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004763/1.048, allocations: 491.3 kB / 1.119 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009315/1.058, allocations: 6.129 MB / 1.125 GB, free: 6.148 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004964/1.063, allocations: 402.9 kB / 1.125 GB, free: 5.754 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002926/1.063, allocations: 71.92 kB / 1.125 GB, free: 5.684 MB / 0.8731 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(11,43)} Notification: Performance of prepare postOptimizeDAE: time 0.0009726/1.064, allocations: 480.8 kB / 1.126 GB, free: 5.203 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003516/1.064, allocations: 106.6 kB / 1.126 GB, free: 5.098 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01747/1.082, allocations: 4.772 MB / 1.131 GB, free: 316 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/1.082, allocations: 8 kB / 1.131 GB, free: 308 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.082, allocations: 4 kB / 1.131 GB, free: 304 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/1.082, allocations: 3.984 kB / 1.131 GB, free: 300 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01843/1.1, allocations: 6.568 MB / 1.137 GB, free: 9.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03729/1.138, allocations: 5.155 MB / 1.142 GB, free: 4.332 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001992/1.14, allocations: 199.7 kB / 1.142 GB, free: 4.137 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1306/1.27, allocations: 15.21 MB / 1.157 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002958/1.271, allocations: 39.95 kB / 1.157 GB, free: 4.867 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00747/1.278, allocations: 3.1 MB / 1.16 GB, free: 1.734 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/1.278, allocations: 4 kB / 1.16 GB, free: 1.73 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03824/1.316, allocations: 5.447 MB / 1.165 GB, free: 12.26 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000956/1.317, allocations: 499.2 kB / 1.166 GB, free: 11.75 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003095/1.318, allocations: 11.98 kB / 1.166 GB, free: 11.74 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003049/1.321, allocations: 239.6 kB / 1.166 GB, free: 11.5 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/1.321, allocations: 44.59 kB / 1.166 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/1.321, allocations: 51.95 kB / 1.166 GB, free: 11.41 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001217/1.322, allocations: 0.7684 MB / 1.167 GB, free: 10.63 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/1.322, allocations: 0 / 1.167 GB, free: 10.63 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002151/1.324, allocations: 0.7139 MB / 1.168 GB, free: 9.914 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(11,51)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0165/1.341, allocations: 4.475 MB / 1.172 GB, free: 5.398 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02397/1.365, allocations: 6.359 MB / 1.178 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/1.365, allocations: 8 kB / 1.178 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.005988/1.371, allocations: 1.622 MB / 1.18 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/1.372, allocations: 264.9 kB / 1.18 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06563/1.438, allocations: 21.59 MB / 1.201 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/1.439, allocations: 1.306 MB / 1.202 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003816/1.443, allocations: 0.8314 MB / 1.203 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009999/1.444, allocations: 463.2 kB / 1.204 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of SimCode: time 7.42e-07/1.444, allocations: 4 kB / 1.204 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.404/3.848, allocations: 76.73 MB / 1.279 GB, free: 220.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/3.848, allocations: 254.5 kB / 1.279 GB, free: 220 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.015/8.863, allocations: 0 / 1.279 GB, free: 220 MB / 0.9981 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches