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.0009607/0.0009604, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 183.8 kB / 16.92 MB, free: 6.922 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.403/1.403, allocations: 223.3 MB / 241 MB, free: 5.348 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.681/2.681, allocations: 437.8 MB / 0.7128 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005483/0.0005484, allocations: 12 kB / 0.8735 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.616/0.6166, allocations: 153.8 MB / 1.024 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.003577/0.6202, allocations: 2.961 MB / 1.027 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.6218, allocations: 0.8297 MB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003286/0.6222, allocations: 12 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001889/0.6224, allocations: 43.62 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004225/0.6228, allocations: 150.8 kB / 1.028 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.6233, allocations: 154.1 kB / 1.028 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006856/0.624, allocations: 0.6234 MB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003749/0.6244, allocations: 215.4 kB / 1.029 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003626/0.6247, allocations: 215.1 kB / 1.029 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003838/0.6251, allocations: 250.8 kB / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.327e-05/0.6252, allocations: 24 kB / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.967e-05/0.6253, allocations: 24 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.6254, allocations: 87.59 kB / 1.029 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002548/0.6257, allocations: 256.4 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003713/0.6261, allocations: 420.8 kB / 1.03 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.6261, allocations: 8 kB / 1.03 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.824e-06/0.6261, allocations: 0 / 1.03 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.769e-05/0.6261, allocations: 0 / 1.03 GB, free: 9.668 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.001455/0.6276, allocations: 0.7367 MB / 1.03 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.6276, allocations: 23.97 kB / 1.031 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.6278, allocations: 52.38 kB / 1.031 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004532/0.6282, allocations: 347.1 kB / 1.031 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.6283, allocations: 37.38 kB / 1.031 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-05/0.6284, allocations: 40.38 kB / 1.031 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007989/0.6292, allocations: 410.8 kB / 1.031 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.6292, allocations: 0 / 1.031 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.545e-05/0.6292, allocations: 16 kB / 1.031 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.6293, allocations: 16 kB / 1.031 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007508/0.63, allocations: 347.8 kB / 1.032 GB, free: 7.574 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.002653/0.6327, allocations: 1.501 MB / 1.033 GB, free: 5.973 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007722/0.6335, allocations: 403 kB / 1.034 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004128/0.6339, allocations: 240.8 kB / 1.034 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.328e-05/0.6339, allocations: 11.72 kB / 1.034 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.634, allocations: 38.56 kB / 1.034 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=41): time 1.894e-06/0.634, allocations: 3.938 kB / 1.034 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=41): time 0.008092/0.6421, allocations: 1.847 MB / 1.036 GB, free: 3.391 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.6421, allocations: 59.34 kB / 1.036 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004064/0.6426, allocations: 349.7 kB / 1.036 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/0.6426, allocations: 33.7 kB / 1.036 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.6428, allocations: 220.6 kB / 1.036 GB, free: 2.707 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.6429, allocations: 141.9 kB / 1.036 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.2e-05/0.643, allocations: 37.64 kB / 1.036 GB, free: 2.523 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.6431, allocations: 346.8 kB / 1.037 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003148/0.6434, allocations: 143.9 kB / 1.037 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003716/0.6438, allocations: 217.9 kB / 1.037 GB, free: 1.801 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006346/0.6445, allocations: 329.5 kB / 1.037 GB, free: 1.477 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.6445, allocations: 4 kB / 1.037 GB, free: 1.473 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002175/0.6467, allocations: 0.7548 MB / 1.038 GB, free: 0.707 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.184e-05/0.6467, allocations: 97.3 kB / 1.038 GB, free: 0.6055 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.6468, allocations: 3.984 kB / 1.038 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001877/0.6486, allocations: 453 kB / 1.039 GB, free: 160 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.6488, allocations: 31.97 kB / 1.039 GB, free: 128 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006436/0.6552, allocations: 3.865 MB / 1.043 GB, free: 12.15 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005216/0.6558, allocations: 63.52 kB / 1.043 GB, free: 12.09 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/0.6558, allocations: 8 kB / 1.043 GB, free: 12.08 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.156e-06/0.6558, allocations: 4 kB / 1.043 GB, free: 12.07 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00201/0.6579, allocations: 0.6755 MB / 1.043 GB, free: 11.39 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.6579, allocations: 3.984 kB / 1.043 GB, free: 11.39 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001627/0.6595, allocations: 424.7 kB / 1.044 GB, free: 10.97 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.6597, allocations: 39.86 kB / 1.044 GB, free: 10.93 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00563/0.6653, allocations: 3.684 MB / 1.047 GB, free: 7.113 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005016/0.6658, allocations: 63.55 kB / 1.047 GB, free: 7.051 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.6659, allocations: 8 kB / 1.047 GB, free: 7.043 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.0002557/0.6661, allocations: 233 kB / 1.048 GB, free: 6.805 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.229e-05/0.6662, allocations: 43.53 kB / 1.048 GB, free: 6.762 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001398/0.6664, allocations: 64.47 kB / 1.048 GB, free: 6.695 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.6664, allocations: 4 kB / 1.048 GB, free: 6.691 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.6664, allocations: 0 / 1.048 GB, free: 6.691 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.6664, allocations: 7.938 kB / 1.048 GB, free: 6.684 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005961/0.667, allocations: 498 kB / 1.048 GB, free: 6.148 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.667, allocations: 0 / 1.048 GB, free: 6.148 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.6672, allocations: 27.97 kB / 1.048 GB, free: 6.121 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001577/0.6687, allocations: 400.7 kB / 1.049 GB, free: 5.727 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.6688, allocations: 4 kB / 1.049 GB, free: 5.723 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005563/0.6743, allocations: 3.686 MB / 1.052 GB, free: 1.895 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.6744, allocations: 3.984 kB / 1.052 GB, free: 1.891 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.6763, allocations: 0.8237 MB / 1.053 GB, free: 1.047 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.6765, allocations: 148.5 kB / 1.053 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.904e-05/0.6766, allocations: 4 kB / 1.053 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003311/0.6769, allocations: 27.92 kB / 1.053 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.677, allocations: 39.94 kB / 1.053 GB, free: 0.8125 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.6771, allocations: 11.94 kB / 1.053 GB, free: 0.8008 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002671/0.6773, allocations: 255.2 kB / 1.053 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6773, allocations: 0 / 1.053 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001/0.6784, allocations: 339.4 kB / 1.054 GB, free: 228 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.0001495/0.6785, allocations: 111.2 kB / 1.054 GB, free: 108 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002707/0.6812, allocations: 1.18 MB / 1.055 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6812, allocations: 4 kB / 1.055 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.6824, allocations: 0.5013 MB / 1.056 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006539/0.683, allocations: 117.3 kB / 1.056 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.6847, allocations: 1.026 MB / 1.057 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.6852, allocations: 0.8482 MB / 1.057 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.547e-05/0.6853, allocations: 23.44 kB / 1.058 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of SimCode: time 6.11e-07/0.6853, allocations: 0 / 1.058 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of Templates: time 0.01047/0.6957, allocations: 7.125 MB / 1.064 GB, free: 5.203 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/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