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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001087/0.001087, 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.009209/0.009209, allocations: 169.9 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.42/1.42, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.397/2.397, allocations: 390.9 MB / 0.6663 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003122/0.0003122, allocations: 8 kB / 0.816 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6328/0.6331, allocations: 142.4 MB / 0.955 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.003174/0.6364, allocations: 2.952 MB / 0.9579 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.638, allocations: 0.8288 MB / 0.9587 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004257/0.6385, allocations: 9.906 kB / 0.9587 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.6388, allocations: 47.48 kB / 0.9588 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005412/0.6393, allocations: 154.6 kB / 0.9589 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.6398, allocations: 149.6 kB / 0.9591 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007259/0.6405, allocations: 0.618 MB / 0.9597 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003873/0.6409, allocations: 215.2 kB / 0.9599 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004496/0.6414, allocations: 217.8 kB / 0.9601 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004381/0.6418, allocations: 251.8 kB / 0.9603 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.595e-05/0.6419, allocations: 23.19 kB / 0.9604 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.6421, allocations: 23.25 kB / 0.9604 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.6422, allocations: 92.28 kB / 0.9605 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003197/0.6425, allocations: 258.6 kB / 0.9607 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005689/0.6431, allocations: 0.5329 MB / 0.9612 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6431, allocations: 0 / 0.9612 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6431, allocations: 0 / 0.9612 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.847e-05/0.6431, allocations: 1.375 kB / 0.9612 GB, free: 2.938 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.001529/0.6447, allocations: 0.7469 MB / 0.962 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.6447, allocations: 9.719 kB / 0.962 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.6449, allocations: 56.88 kB / 0.962 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004632/0.6454, allocations: 350.7 kB / 0.9624 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.891e-05/0.6454, allocations: 32.47 kB / 0.9624 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.62e-05/0.6455, allocations: 42.12 kB / 0.9624 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007763/0.6463, allocations: 406.6 kB / 0.9628 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.6463, allocations: 1.312 kB / 0.9628 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.022e-05/0.6464, allocations: 19.53 kB / 0.9628 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.6464, allocations: 9.688 kB / 0.9629 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006987/0.6471, allocations: 343.5 kB / 0.9632 GB, free: 1.543 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.002424/0.6495, allocations: 1.507 MB / 0.9647 GB, free: 332 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007764/0.6503, allocations: 407.2 kB / 0.965 GB, free: 116 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003951/0.6507, allocations: 236 kB / 0.9653 GB, free: 0 / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.71e-05/0.6508, allocations: 8.859 kB / 0.9653 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.6508, allocations: 40.59 kB / 0.9653 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=41): time 3.717e-06/0.6508, allocations: 3.984 kB / 0.9653 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=41): time 0.008083/0.6589, allocations: 1.844 MB / 0.9671 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.659, allocations: 59.16 kB / 0.9672 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004285/0.6594, allocations: 354.4 kB / 0.9675 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/0.6595, allocations: 35.7 kB / 0.9675 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.6596, allocations: 218.8 kB / 0.9678 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.6598, allocations: 142.5 kB / 0.9679 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.185e-05/0.6599, allocations: 35.33 kB / 0.9679 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.66, allocations: 347.2 kB / 0.9683 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003227/0.6603, allocations: 143.7 kB / 0.9684 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003913/0.6607, allocations: 213.8 kB / 0.9686 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006803/0.6614, allocations: 341.7 kB / 0.9689 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.6614, allocations: 0 / 0.9689 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002207/0.6636, allocations: 0.7609 MB / 0.9697 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.25e-05/0.6637, allocations: 95.75 kB / 0.9698 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.6637, allocations: 4 kB / 0.9698 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001881/0.6656, allocations: 455.8 kB / 0.9702 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.6658, allocations: 33.62 kB / 0.9702 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006566/0.6724, allocations: 3.858 MB / 0.974 GB, free: 9.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005353/0.6729, allocations: 58.91 kB / 0.9741 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.6729, allocations: 10.47 kB / 0.9741 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.053e-06/0.673, allocations: 4.031 kB / 0.9741 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001965/0.6749, allocations: 0.6712 MB / 0.9747 GB, free: 9.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.6749, allocations: 0 / 0.9747 GB, free: 9.531 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0016/0.6765, allocations: 431.6 kB / 0.9751 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.6767, allocations: 36.53 kB / 0.9752 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005605/0.6823, allocations: 3.701 MB / 0.9788 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000591/0.6829, allocations: 55.56 kB / 0.9788 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.6829, allocations: 12 kB / 0.9788 GB, free: 6.402 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 (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.0002463/0.6832, allocations: 237 kB / 0.9791 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.554e-05/0.6833, allocations: 39.53 kB / 0.9791 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.6834, allocations: 56.48 kB / 0.9792 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.6835, allocations: 4 kB / 0.9792 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.6835, allocations: 0 / 0.9792 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.6835, allocations: 11.92 kB / 0.9792 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006182/0.6841, allocations: 0.4902 MB / 0.9797 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.6841, allocations: 0 / 0.9797 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.6842, allocations: 23.98 kB / 0.9797 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001551/0.6858, allocations: 405 kB / 0.9801 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.6858, allocations: 4 kB / 0.9801 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005703/0.6915, allocations: 3.679 MB / 0.9837 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.6916, allocations: 3.984 kB / 0.9837 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/0.6936, allocations: 0.8147 MB / 0.9845 GB, free: 432 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.6938, allocations: 156.4 kB / 0.9846 GB, free: 256 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.57e-05/0.6938, allocations: 8.25 kB / 0.9846 GB, free: 248 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003519/0.6942, allocations: 31.92 kB / 0.9846 GB, free: 216 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.6943, allocations: 35.94 kB / 0.9847 GB, free: 180 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.6944, allocations: 15.94 kB / 0.9847 GB, free: 164 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002902/0.6947, allocations: 251.2 kB / 0.9849 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3e-07/0.6947, allocations: 0 / 0.9849 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001127/0.6958, allocations: 347.4 kB / 0.9853 GB, free: 15.57 MB / 0.7481 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.0001468/0.6959, allocations: 99.25 kB / 0.9854 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002863/0.6988, allocations: 1.186 MB / 0.9865 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.6988, allocations: 0 / 0.9865 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.6999, allocations: 0.4976 MB / 0.987 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006771/0.7006, allocations: 112.2 kB / 0.9871 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.7024, allocations: 1.009 MB / 0.9881 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/0.7028, allocations: 0.8404 MB / 0.9889 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001753/0.703, allocations: 31.28 kB / 0.989 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.403e-05/0.7031, allocations: 23.44 kB / 0.989 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of SimCode: time 5.61e-07/0.7031, allocations: 4 kB / 0.989 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of Templates: time 0.02024/0.7233, allocations: 12.33 MB / 1.001 GB, free: 15.46 MB / 0.7637 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches