Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0009835/0.0009839, allocations: 96.02 kB / 15.05 MB, free: 1.109 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.001034/0.001034, allocations: 181.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.49/1.49, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.734/2.734, allocations: 390.2 MB / 0.6653 GB, free: 2.926 MB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003666, allocations: 11.94 kB / 0.8145 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9932/0.9936, allocations: 142.3 MB / 0.9535 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.003069/0.9967, allocations: 2.67 MB / 0.9561 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.9981, allocations: 0.8405 MB / 0.9569 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001969/0.9983, allocations: 9.094 kB / 0.9569 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.9985, allocations: 44.25 kB / 0.957 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003197/0.9988, allocations: 173.9 kB / 0.9572 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.9992, allocations: 143.5 kB / 0.9573 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004858/0.9997, allocations: 424.8 kB / 0.9577 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003332/1, allocations: 181.5 kB / 0.9579 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002833/1, allocations: 210.9 kB / 0.9581 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002883/1.001, allocations: 243.1 kB / 0.9583 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.986e-05/1.001, allocations: 23.97 kB / 0.9583 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.139e-05/1.001, allocations: 23.22 kB / 0.9584 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.224e-05/1.001, allocations: 93.58 kB / 0.9584 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.11e-05/1.001, allocations: 108.1 kB / 0.9585 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003148/1.001, allocations: 410.5 kB / 0.9589 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/1.001, allocations: 1.562 kB / 0.9589 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.614e-06/1.001, allocations: 0 / 0.9589 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.703e-06/1.001, allocations: 0 / 0.9589 GB, free: 3.969 MB / 0.7169 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.001251/1.003, allocations: 0.7484 MB / 0.9597 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/1.003, allocations: 8.25 kB / 0.9597 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/1.003, allocations: 60.17 kB / 0.9597 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/1.003, allocations: 342.3 kB / 0.9601 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.359e-05/1.003, allocations: 32.25 kB / 0.9601 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.321e-05/1.003, allocations: 45.34 kB / 0.9601 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007489/1.004, allocations: 396.4 kB / 0.9605 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/1.004, allocations: 3.984 kB / 0.9605 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/1.004, allocations: 15.81 kB / 0.9605 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/1.004, allocations: 10.31 kB / 0.9605 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006788/1.005, allocations: 355.7 kB / 0.9609 GB, free: 2.562 MB / 0.7169 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.002109/1.007, allocations: 1.487 MB / 0.9623 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007377/1.008, allocations: 401.1 kB / 0.9627 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.223e-05/1.008, allocations: 13.09 kB / 0.9627 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/1.008, allocations: 45.06 kB / 0.9628 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=41): time 1.743e-06/1.008, allocations: 0 / 0.9628 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=41): time 0.007532/1.015, allocations: 1.816 MB / 0.9645 GB, free: 76 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/1.015, allocations: 58.98 kB / 0.9646 GB, free: 8 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005375/1.016, allocations: 348.1 kB / 0.9649 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.49e-05/1.016, allocations: 35.89 kB / 0.965 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/1.016, allocations: 217.8 kB / 0.9652 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/1.016, allocations: 139.3 kB / 0.9653 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/1.016, allocations: 9.031 kB / 0.9653 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.016, allocations: 347.6 kB / 0.9656 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/1.017, allocations: 131.9 kB / 0.9658 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000392/1.017, allocations: 212.7 kB / 0.966 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/1.017, allocations: 152.6 kB / 0.9661 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/1.017, allocations: 3.938 kB / 0.9661 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002261/1.02, allocations: 0.7385 MB / 0.9668 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.807e-05/1.02, allocations: 98.33 kB / 0.9669 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/1.02, allocations: 3.984 kB / 0.9669 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002007/1.022, allocations: 447.8 kB / 0.9674 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/1.022, allocations: 37.48 kB / 0.9674 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00694/1.029, allocations: 3.953 MB / 0.9713 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005456/1.03, allocations: 54.58 kB / 0.9713 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/1.03, allocations: 15.48 kB / 0.9713 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/1.03, allocations: 4.281 kB / 0.9713 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001893/1.031, allocations: 0.6704 MB / 0.972 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/1.032, allocations: 4 kB / 0.972 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001642/1.033, allocations: 424 kB / 0.9724 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/1.033, allocations: 36.64 kB / 0.9724 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00558/1.039, allocations: 3.782 MB / 0.9761 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005657/1.039, allocations: 58.14 kB / 0.9762 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/1.04, allocations: 7.156 kB / 0.9762 GB, free: 7.746 MB / 0.7325 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.000299/1.04, allocations: 232.3 kB / 0.9764 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.397e-05/1.04, allocations: 44.36 kB / 0.9765 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/1.04, allocations: 57.83 kB / 0.9765 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/1.04, allocations: 8.125 kB / 0.9765 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/1.04, allocations: 3.938 kB / 0.9765 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/1.04, allocations: 5.328 kB / 0.9765 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006164/1.041, allocations: 0.4977 MB / 0.977 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/1.041, allocations: 0 / 0.977 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/1.041, allocations: 23.36 kB / 0.977 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00149/1.042, allocations: 404.2 kB / 0.9774 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/1.042, allocations: 9.531 kB / 0.9774 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005279/1.048, allocations: 3.773 MB / 0.9811 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/1.048, allocations: 4 kB / 0.9811 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/1.05, allocations: 0.8202 MB / 0.9819 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/1.05, allocations: 148.5 kB / 0.9821 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/1.05, allocations: 12 kB / 0.9821 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003052/1.05, allocations: 19.98 kB / 0.9821 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.282e-05/1.05, allocations: 35.94 kB / 0.9821 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/1.05, allocations: 12 kB / 0.9821 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002499/1.05, allocations: 247.2 kB / 0.9824 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.05, allocations: 4 kB / 0.9824 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001104/1.052, allocations: 339.4 kB / 0.9827 GB, free: 1.484 MB / 0.7325 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.0001717/1.052, allocations: 111.2 kB / 0.9828 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002534/1.054, allocations: 1.175 MB / 0.984 GB, free: 164 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.054, allocations: 0 / 0.984 GB, free: 164 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/1.055, allocations: 0.5092 MB / 0.9844 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005439/1.056, allocations: 109.2 kB / 0.9846 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/1.057, allocations: 0.9797 MB / 0.9855 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/1.058, allocations: 0.856 MB / 0.9863 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001566/1.058, allocations: 31.28 kB / 0.9864 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.183e-05/1.058, allocations: 27.38 kB / 0.9864 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of SimCode: time 6.81e-07/1.058, allocations: 0 / 0.9864 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of Templates: time 0.01845/1.077, allocations: 11.93 MB / 0.9981 GB, free: 1.785 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.csv","../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches