Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.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.GlassLayer,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",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.001136/0.001136, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.009548/0.009548, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.332/1.332, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.453/2.453, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.0003219, allocations: 12 kB / 0.873 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6321/0.6324, allocations: 153.8 MB / 1.023 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.00361/0.6361, allocations: 2.953 MB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001741/0.6379, allocations: 0.8353 MB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003637/0.6383, allocations: 11.94 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000223/0.6385, allocations: 43.62 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005172/0.639, allocations: 142.9 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005103/0.6396, allocations: 167.8 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000744/0.6403, allocations: 0.6234 MB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003791/0.6407, allocations: 207.5 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003938/0.6411, allocations: 219.1 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003925/0.6415, allocations: 246.8 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.551e-05/0.6416, allocations: 24 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.8e-05/0.6417, allocations: 24 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.6418, allocations: 95.53 kB / 1.029 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002698/0.6421, allocations: 264.3 kB / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004945/0.6426, allocations: 0.5315 MB / 1.029 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.6426, allocations: 0 / 1.029 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.505e-06/0.6426, allocations: 3.938 kB / 1.029 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.371e-05/0.6427, allocations: 0 / 1.029 GB, free: 9.543 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001425/0.6441, allocations: 0.7484 MB / 1.03 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.6441, allocations: 8.031 kB / 1.03 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.514e-05/0.6442, allocations: 78.72 kB / 1.03 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.6444, allocations: 60.28 kB / 1.03 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004326/0.6448, allocations: 351.1 kB / 1.031 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.6448, allocations: 33.38 kB / 1.031 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-05/0.6449, allocations: 44.38 kB / 1.031 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007568/0.6457, allocations: 402.6 kB / 1.031 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.6457, allocations: 0 / 1.031 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.939e-05/0.6458, allocations: 16 kB / 1.031 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.6458, allocations: 12 kB / 1.031 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006852/0.6465, allocations: 347.8 kB / 1.031 GB, free: 7.367 MB / 0.7794 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.002289/0.6488, allocations: 1.505 MB / 1.033 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007344/0.6495, allocations: 398.5 kB / 1.033 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004098/0.6499, allocations: 244.8 kB / 1.033 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.54e-05/0.65, allocations: 11.77 kB / 1.033 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.65, allocations: 38.56 kB / 1.033 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=41): time 1.563e-06/0.65, allocations: 0 / 1.033 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of matching and sorting (n=41): time 0.008221/0.6583, allocations: 1.851 MB / 1.035 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.6583, allocations: 59.34 kB / 1.035 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003724/0.6587, allocations: 353.7 kB / 1.036 GB, free: 2.758 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.6587, allocations: 29.7 kB / 1.036 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.6589, allocations: 220.6 kB / 1.036 GB, free: 2.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.659, allocations: 145.9 kB / 1.036 GB, free: 2.355 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/0.6591, allocations: 37.7 kB / 1.036 GB, free: 2.312 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.6592, allocations: 346.8 kB / 1.036 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003036/0.6595, allocations: 143.9 kB / 1.037 GB, free: 1.824 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/0.6599, allocations: 221.8 kB / 1.037 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000622/0.6605, allocations: 333.4 kB / 1.037 GB, free: 1.258 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6605, allocations: 0 / 1.037 GB, free: 1.258 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002153/0.6627, allocations: 0.7625 MB / 1.038 GB, free: 496 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.319e-05/0.6627, allocations: 89 kB / 1.038 GB, free: 400 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.6628, allocations: 0 / 1.038 GB, free: 400 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001854/0.6646, allocations: 460.9 kB / 1.038 GB, free: 15.94 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.6648, allocations: 31.97 kB / 1.038 GB, free: 15.91 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006263/0.671, allocations: 3.847 MB / 1.042 GB, free: 11.95 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005264/0.6716, allocations: 63.56 kB / 1.042 GB, free: 11.88 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.6716, allocations: 12 kB / 1.042 GB, free: 11.87 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.6717, allocations: 5.25 kB / 1.042 GB, free: 11.87 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002013/0.6737, allocations: 0.6794 MB / 1.043 GB, free: 11.18 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.6737, allocations: 0 / 1.043 GB, free: 11.18 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001634/0.6753, allocations: 424.7 kB / 1.043 GB, free: 10.77 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.6755, allocations: 39.97 kB / 1.043 GB, free: 10.73 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005584/0.6811, allocations: 3.696 MB / 1.047 GB, free: 6.895 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000507/0.6816, allocations: 59.58 kB / 1.047 GB, free: 6.836 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.6816, allocations: 15.92 kB / 1.047 GB, free: 6.82 MB / 0.795 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 (12): * Single equations (assignments): 11 * 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 {(6,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0002258/0.6819, allocations: 225.1 kB / 1.047 GB, free: 6.59 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.524e-05/0.682, allocations: 43.53 kB / 1.047 GB, free: 6.547 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.6821, allocations: 60.42 kB / 1.047 GB, free: 6.484 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.6821, allocations: 4 kB / 1.047 GB, free: 6.48 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.6821, allocations: 4.125 kB / 1.047 GB, free: 6.477 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.6821, allocations: 7.922 kB / 1.047 GB, free: 6.469 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005714/0.6827, allocations: 498 kB / 1.048 GB, free: 5.934 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.6827, allocations: 0 / 1.048 GB, free: 5.934 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.6828, allocations: 23.98 kB / 1.048 GB, free: 5.91 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001587/0.6844, allocations: 400.7 kB / 1.048 GB, free: 5.516 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.6845, allocations: 12 kB / 1.048 GB, free: 5.504 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005503/0.69, allocations: 3.675 MB / 1.052 GB, free: 1.688 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.69, allocations: 0 / 1.052 GB, free: 1.688 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.692, allocations: 0.824 MB / 1.053 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.6922, allocations: 148.5 kB / 1.053 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.64e-05/0.6922, allocations: 11.94 kB / 1.053 GB, free: 0.668 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003412/0.6926, allocations: 27.92 kB / 1.053 GB, free: 0.6406 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.929e-05/0.6927, allocations: 43.88 kB / 1.053 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.6927, allocations: 4 kB / 1.053 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002524/0.693, allocations: 259.1 kB / 1.053 GB, free: 352 kB / 0.795 GB Notification: Performance of sort global known variables: time 1.51e-07/0.693, allocations: 4 kB / 1.053 GB, free: 348 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0009441/0.6939, allocations: 335.4 kB / 1.053 GB, free: 12 kB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (10): * Single equations (assignments): 9 * 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 {(6,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002319/0.6963, allocations: 1.368 MB / 1.055 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00267/0.699, allocations: 1.176 MB / 1.056 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.699, allocations: 0 / 1.056 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.7, allocations: 0.5054 MB / 1.056 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006516/0.7007, allocations: 110.7 kB / 1.057 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008376/0.7091, allocations: 4.688 MB / 1.061 GB, free: 8.016 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.7095, allocations: 0.8476 MB / 1.062 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001836/0.7097, allocations: 35.27 kB / 1.062 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.7099, allocations: 131.4 kB / 1.062 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of SimCode: time 2.71e-07/0.7099, allocations: 0 / 1.062 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05652/0.7664, allocations: 15.9 MB / 1.078 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/0.7667, allocations: 249.9 kB / 1.078 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.223/2.99, allocations: 0 / 1.078 GB, free: 7.133 MB / 0.8262 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches