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: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirOut.T|TRadOut.T|nonSha.port_a.T|nonSha.port_b.T|sha.port_a.T|sha.port_b.T|TAirRoo.T",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirOut.T|TRadOut.T|nonSha.port_a.T|nonSha.port_b.T|sha.port_a.T|sha.port_b.T|TAirRoo.T",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.001478/0.001478, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.3 MB / 240 MB, free: 5.211 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.739/2.739, allocations: 437.7 MB / 0.7117 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.0003951, allocations: 12 kB / 0.8722 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7845/0.7849, allocations: 153.8 MB / 1.022 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.004038/0.789, allocations: 2.826 MB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001843/0.7909, allocations: 0.8238 MB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003953/0.7913, allocations: 12 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002285/0.7915, allocations: 47.56 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005213/0.7921, allocations: 146.9 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004953/0.7926, allocations: 131.8 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007059/0.7933, allocations: 0.5922 MB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003246/0.7936, allocations: 175.4 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003448/0.794, allocations: 207.2 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003902/0.7944, allocations: 243 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.387e-05/0.7945, allocations: 24 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-05/0.7946, allocations: 24 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.838e-05/0.7947, allocations: 87.59 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.7948, allocations: 109.5 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004028/0.7952, allocations: 420.8 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7952, allocations: 0 / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7952, allocations: 0 / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.83e-05/0.7952, allocations: 0 / 1.028 GB, free: 10.19 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.001487/0.7967, allocations: 0.7542 MB / 1.029 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.7968, allocations: 12.52 kB / 1.029 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.797, allocations: 51.44 kB / 1.029 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005366/0.7975, allocations: 345.9 kB / 1.029 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.199e-05/0.7976, allocations: 37 kB / 1.029 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.072e-05/0.7976, allocations: 40 kB / 1.029 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008573/0.7985, allocations: 406.4 kB / 1.03 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.7985, allocations: 0 / 1.03 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.136e-05/0.7986, allocations: 16 kB / 1.03 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.7986, allocations: 8 kB / 1.03 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006838/0.7993, allocations: 351.8 kB / 1.03 GB, free: 8.094 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.002431/0.8017, allocations: 1.497 MB / 1.031 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007468/0.8025, allocations: 391.2 kB / 1.032 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003911/0.8029, allocations: 240.8 kB / 1.032 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.319e-05/0.8029, allocations: 15.77 kB / 1.032 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.803, allocations: 46.44 kB / 1.032 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=41): time 2.053e-06/0.803, allocations: 0 / 1.032 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of matching and sorting (n=41): time 0.006808/0.8098, allocations: 1.808 MB / 1.034 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.8099, allocations: 59.39 kB / 1.034 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004202/0.8103, allocations: 349.6 kB / 1.034 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.848e-05/0.8103, allocations: 37.64 kB / 1.034 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.8105, allocations: 216.6 kB / 1.035 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.8107, allocations: 141.9 kB / 1.035 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/0.8107, allocations: 8 kB / 1.035 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.8109, allocations: 346.8 kB / 1.035 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.8111, allocations: 135.9 kB / 1.035 GB, free: 2.645 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/0.8115, allocations: 205.9 kB / 1.035 GB, free: 2.422 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.8118, allocations: 160.7 kB / 1.036 GB, free: 2.266 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.8118, allocations: 0 / 1.036 GB, free: 2.266 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001847/0.8137, allocations: 0.7392 MB / 1.036 GB, free: 1.516 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.82e-05/0.8138, allocations: 101 kB / 1.036 GB, free: 1.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.8138, allocations: 0 / 1.036 GB, free: 1.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001731/0.8155, allocations: 448.4 kB / 1.037 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.8157, allocations: 35.92 kB / 1.037 GB, free: 0.9336 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007238/0.8229, allocations: 3.845 MB / 1.041 GB, free: 12.98 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004749/0.8234, allocations: 51.58 kB / 1.041 GB, free: 12.93 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.8235, allocations: 15.94 kB / 1.041 GB, free: 12.91 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.8235, allocations: 4 kB / 1.041 GB, free: 12.91 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001813/0.8253, allocations: 0.6761 MB / 1.041 GB, free: 12.23 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.8254, allocations: 8 kB / 1.041 GB, free: 12.22 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001471/0.8268, allocations: 424.7 kB / 1.042 GB, free: 11.8 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.827, allocations: 31.92 kB / 1.042 GB, free: 11.77 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005497/0.8325, allocations: 3.68 MB / 1.045 GB, free: 7.953 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004245/0.8329, allocations: 55.66 kB / 1.045 GB, free: 7.898 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.833, allocations: 11.95 kB / 1.045 GB, free: 7.887 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.000256/0.8332, allocations: 229.1 kB / 1.046 GB, free: 7.652 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.918e-05/0.8333, allocations: 47.5 kB / 1.046 GB, free: 7.605 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.8335, allocations: 56.48 kB / 1.046 GB, free: 7.547 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.8335, allocations: 8 kB / 1.046 GB, free: 7.539 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.8335, allocations: 0 / 1.046 GB, free: 7.539 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.8335, allocations: 0 / 1.046 GB, free: 7.539 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006498/0.8341, allocations: 0.4902 MB / 1.046 GB, free: 7 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.8342, allocations: 3.984 kB / 1.046 GB, free: 6.996 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.8343, allocations: 36.11 kB / 1.046 GB, free: 6.961 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001383/0.8357, allocations: 392.4 kB / 1.047 GB, free: 6.574 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.8357, allocations: 4 kB / 1.047 GB, free: 6.57 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005492/0.8412, allocations: 3.672 MB / 1.05 GB, free: 2.762 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.8412, allocations: 0 / 1.05 GB, free: 2.762 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.843, allocations: 0.8046 MB / 1.051 GB, free: 1.938 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/0.8432, allocations: 148.5 kB / 1.051 GB, free: 1.773 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.21e-05/0.8433, allocations: 15.95 kB / 1.051 GB, free: 1.758 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/0.8435, allocations: 27.83 kB / 1.051 GB, free: 1.73 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.8437, allocations: 39.88 kB / 1.051 GB, free: 1.691 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.8437, allocations: 12 kB / 1.051 GB, free: 1.68 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002799/0.844, allocations: 251.2 kB / 1.051 GB, free: 1.438 MB / 0.795 GB Notification: Performance of sort global known variables: time 5.51e-07/0.844, allocations: 0 / 1.051 GB, free: 1.438 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0009985/0.845, allocations: 339.5 kB / 1.052 GB, free: 1.105 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.000174/0.8452, allocations: 107.5 kB / 1.052 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002518/0.8477, allocations: 1.167 MB / 1.053 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.8477, allocations: 0 / 1.053 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.8487, allocations: 0.4977 MB / 1.053 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006452/0.8494, allocations: 121.3 kB / 1.054 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.8511, allocations: 0.9745 MB / 1.055 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004998/0.8516, allocations: 0.848 MB / 1.055 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001836/0.8518, allocations: 39.27 kB / 1.055 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.645e-05/0.8518, allocations: 23.44 kB / 1.055 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of SimCode: time 4.91e-07/0.8518, allocations: 3.938 kB / 1.055 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of Templates: time 0.02047/0.8723, allocations: 11.94 MB / 1.067 GB, free: 1.418 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.makefile (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 & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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