Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: 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_latest_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_latest_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.0009961/0.0009961, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.0009329/0.000933, allocations: 177.3 kB / 15.95 MB, free: 216 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.379/1.379, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.65/2.65, allocations: 436.5 MB / 0.7104 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003283, allocations: 8 kB / 0.8708 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6511/0.6514, allocations: 153.7 MB / 1.021 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.003075/0.6545, allocations: 2.671 MB / 1.023 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.6559, allocations: 0.8497 MB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001815/0.6561, allocations: 7.938 kB / 1.024 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.6562, allocations: 43.61 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00029/0.6565, allocations: 175.5 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.6569, allocations: 131.8 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005057/0.6574, allocations: 432.1 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003157/0.6577, allocations: 187.3 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002516/0.658, allocations: 211.2 kB / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002733/0.6583, allocations: 239 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.407e-05/0.6583, allocations: 24 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.907e-05/0.6584, allocations: 24 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.488e-05/0.6585, allocations: 87.64 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.772e-05/0.6586, allocations: 113.5 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.6589, allocations: 408.8 kB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.6589, allocations: 0 / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.62e-07/0.6589, allocations: 0 / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.6589, allocations: 0 / 1.026 GB, free: 11.46 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.00128/0.6602, allocations: 0.7521 MB / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.6603, allocations: 8.031 kB / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.218e-05/0.6604, allocations: 55.44 kB / 1.027 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000392/0.6608, allocations: 338 kB / 1.027 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.6608, allocations: 33 kB / 1.027 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.022e-05/0.6609, allocations: 44 kB / 1.027 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006655/0.6615, allocations: 398.4 kB / 1.028 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.6616, allocations: 3.984 kB / 1.028 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.885e-05/0.6616, allocations: 20 kB / 1.028 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.6616, allocations: 12 kB / 1.028 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006333/0.6623, allocations: 339.8 kB / 1.028 GB, free: 9.398 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.002135/0.6644, allocations: 1.501 MB / 1.03 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006768/0.6651, allocations: 399.8 kB / 1.03 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.6651, allocations: 4 kB / 1.03 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.6652, allocations: 34.56 kB / 1.03 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=41): time 1.643e-06/0.6652, allocations: 4 kB / 1.03 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of matching and sorting (n=41): time 0.007607/0.6728, allocations: 1.81 MB / 1.032 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.6728, allocations: 55.41 kB / 1.032 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003793/0.6732, allocations: 353.7 kB / 1.032 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/0.6733, allocations: 29.7 kB / 1.032 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.6734, allocations: 220.6 kB / 1.032 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.6736, allocations: 142 kB / 1.033 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.94e-05/0.6736, allocations: 4 kB / 1.033 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.6737, allocations: 350.8 kB / 1.033 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/0.674, allocations: 131.9 kB / 1.033 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.6744, allocations: 209.8 kB / 1.033 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.6747, allocations: 164.6 kB / 1.033 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.6747, allocations: 0 / 1.033 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001994/0.6767, allocations: 0.7431 MB / 1.034 GB, free: 3.062 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.209e-05/0.6768, allocations: 96.95 kB / 1.034 GB, free: 2.961 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.6768, allocations: 3.938 kB / 1.034 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001783/0.6786, allocations: 448.4 kB / 1.035 GB, free: 2.516 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.6788, allocations: 27.98 kB / 1.035 GB, free: 2.488 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006513/0.6853, allocations: 3.955 MB / 1.039 GB, free: 14.42 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005004/0.6858, allocations: 59.61 kB / 1.039 GB, free: 14.36 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.6858, allocations: 12 kB / 1.039 GB, free: 14.35 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.6859, allocations: 4 kB / 1.039 GB, free: 14.34 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001822/0.6877, allocations: 0.6722 MB / 1.039 GB, free: 13.67 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.6877, allocations: 0 / 1.039 GB, free: 13.67 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001507/0.6892, allocations: 429 kB / 1.04 GB, free: 13.25 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.6894, allocations: 31.92 kB / 1.04 GB, free: 13.21 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005545/0.6949, allocations: 3.784 MB / 1.043 GB, free: 9.285 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.6954, allocations: 51.64 kB / 1.043 GB, free: 9.234 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.6955, allocations: 16.06 kB / 1.043 GB, free: 9.219 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.0002578/0.6957, allocations: 234.4 kB / 1.044 GB, free: 8.98 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.331e-05/0.6958, allocations: 47.47 kB / 1.044 GB, free: 8.934 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.6959, allocations: 60.48 kB / 1.044 GB, free: 8.875 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.6959, allocations: 4 kB / 1.044 GB, free: 8.871 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.6959, allocations: 4 kB / 1.044 GB, free: 8.867 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.6959, allocations: 3.984 kB / 1.044 GB, free: 8.863 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005844/0.6965, allocations: 0.498 MB / 1.044 GB, free: 8.316 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.6965, allocations: 3.938 kB / 1.044 GB, free: 8.312 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.6967, allocations: 23.98 kB / 1.044 GB, free: 8.289 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00148/0.6982, allocations: 396.7 kB / 1.045 GB, free: 7.898 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.6982, allocations: 8 kB / 1.045 GB, free: 7.891 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005539/0.7038, allocations: 3.783 MB / 1.048 GB, free: 3.969 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7038, allocations: 0 / 1.048 GB, free: 3.969 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/0.7057, allocations: 0.815 MB / 1.049 GB, free: 3.133 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002401/0.7059, allocations: 144.5 kB / 1.049 GB, free: 2.973 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/0.706, allocations: 8 kB / 1.049 GB, free: 2.965 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003147/0.7063, allocations: 27.84 kB / 1.049 GB, free: 2.938 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.7064, allocations: 39.94 kB / 1.049 GB, free: 2.898 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.7064, allocations: 8 kB / 1.049 GB, free: 2.891 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003249/0.7068, allocations: 247.2 kB / 1.05 GB, free: 2.652 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7068, allocations: 0 / 1.05 GB, free: 2.652 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001089/0.7079, allocations: 339.5 kB / 1.05 GB, free: 2.32 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.0001515/0.708, allocations: 111.9 kB / 1.05 GB, free: 2.203 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002703/0.7107, allocations: 1.187 MB / 1.051 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.7108, allocations: 4 kB / 1.051 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.7118, allocations: 0.5017 MB / 1.052 GB, free: 484 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006054/0.7124, allocations: 109.2 kB / 1.052 GB, free: 372 kB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.7143, allocations: 0.9696 MB / 1.053 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.7147, allocations: 0.856 MB / 1.054 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001563/0.7149, allocations: 35.27 kB / 1.054 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.173e-05/0.7149, allocations: 19.44 kB / 1.054 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of SimCode: time 4.01e-07/0.7149, allocations: 7.938 kB / 1.054 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of Templates: time 0.0196/0.7345, allocations: 11.93 MB / 1.065 GB, free: 2.625 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.csv","../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches