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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0009318/0.0009318, allocations: 91.06 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.007223/0.007223, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.433/1.433, allocations: 223.3 MB / 240.3 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.794/2.794, allocations: 462.7 MB / 0.7364 GB, free: 344 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003972/0.0003969, allocations: 11.88 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3208, allocations: 159.6 MB / 1.059 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.003392/0.3242, allocations: 2.955 MB / 1.062 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.3257, allocations: 0.8529 MB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.326, allocations: 8 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.3261, allocations: 43.62 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003258/0.3265, allocations: 146.8 kB / 1.063 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.3269, allocations: 155.8 kB / 1.063 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000609/0.3275, allocations: 0.6234 MB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003541/0.3279, allocations: 207.5 kB / 1.064 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003158/0.3282, allocations: 215.1 kB / 1.064 GB, free: 328 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003228/0.3285, allocations: 258.8 kB / 1.064 GB, free: 68 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.732e-05/0.3286, allocations: 20 kB / 1.064 GB, free: 48 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.131e-05/0.3286, allocations: 27.94 kB / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.3288, allocations: 91.64 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002154/0.329, allocations: 256.4 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004476/0.3295, allocations: 0.5294 MB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3295, allocations: 4 kB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3295, allocations: 0 / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.3295, allocations: 0 / 1.065 GB, free: 15.14 MB / 0.8262 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.001333/0.3308, allocations: 0.7407 MB / 1.066 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.3309, allocations: 12.03 kB / 1.066 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.331, allocations: 56.28 kB / 1.066 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/0.3314, allocations: 351.1 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.3314, allocations: 37.38 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.369e-05/0.3315, allocations: 44.38 kB / 1.066 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007198/0.3322, allocations: 402.8 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3322, allocations: 0 / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-05/0.3323, allocations: 20 kB / 1.066 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.3323, allocations: 12 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006792/0.333, allocations: 347.8 kB / 1.067 GB, free: 13.05 MB / 0.8262 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.002174/0.3352, allocations: 1.494 MB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007331/0.3359, allocations: 405.3 kB / 1.069 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004068/0.3363, allocations: 241.3 kB / 1.069 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.982e-05/0.3364, allocations: 4 kB / 1.069 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.3364, allocations: 42.5 kB / 1.069 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=41): time 3.316e-06/0.3364, allocations: 0 / 1.069 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=41): time 0.007832/0.3443, allocations: 1.851 MB / 1.071 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.3443, allocations: 63.34 kB / 1.071 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003844/0.3447, allocations: 349.7 kB / 1.071 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.3448, allocations: 33.7 kB / 1.071 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.3449, allocations: 212.6 kB / 1.071 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.3451, allocations: 145.9 kB / 1.072 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.812e-05/0.3451, allocations: 37.7 kB / 1.072 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3452, allocations: 350.7 kB / 1.072 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002932/0.3455, allocations: 143.9 kB / 1.072 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003474/0.3459, allocations: 209.9 kB / 1.072 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006107/0.3465, allocations: 336.5 kB / 1.073 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3465, allocations: 0 / 1.073 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002128/0.3487, allocations: 0.7672 MB / 1.073 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.805e-05/0.3487, allocations: 98.5 kB / 1.073 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.3487, allocations: 7.984 kB / 1.073 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001805/0.3506, allocations: 452.4 kB / 1.074 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.3507, allocations: 27.98 kB / 1.074 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006164/0.3569, allocations: 3.856 MB / 1.078 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005148/0.3574, allocations: 47.72 kB / 1.078 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.3575, allocations: 11.94 kB / 1.078 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.803e-06/0.3575, allocations: 8 kB / 1.078 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001951/0.3594, allocations: 0.68 MB / 1.078 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.3595, allocations: 128 / 1.078 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001612/0.3611, allocations: 429 kB / 1.079 GB, free: 476 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.3612, allocations: 35.86 kB / 1.079 GB, free: 440 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005513/0.3667, allocations: 3.702 MB / 1.082 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005315/0.3673, allocations: 51.64 kB / 1.082 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.3673, allocations: 8 kB / 1.082 GB, free: 12.52 MB / 0.8419 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.0002526/0.3676, allocations: 241 kB / 1.083 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.57e-05/0.3677, allocations: 39.53 kB / 1.083 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.3678, allocations: 56.48 kB / 1.083 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3678, allocations: 4 kB / 1.083 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.3678, allocations: 0 / 1.083 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.3678, allocations: 11.92 kB / 1.083 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005657/0.3684, allocations: 498 kB / 1.083 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.3684, allocations: 4 kB / 1.083 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.3686, allocations: 23.98 kB / 1.083 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001539/0.3701, allocations: 392.7 kB / 1.084 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.3701, allocations: 8 kB / 1.084 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005297/0.3754, allocations: 3.682 MB / 1.087 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3755, allocations: 128 / 1.087 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/0.3774, allocations: 0.8277 MB / 1.088 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.3776, allocations: 152.5 kB / 1.088 GB, free: 6.375 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.679e-05/0.3777, allocations: 7.984 kB / 1.088 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/0.378, allocations: 23.98 kB / 1.088 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.596e-05/0.3781, allocations: 31.95 kB / 1.088 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.3781, allocations: 19.94 kB / 1.088 GB, free: 6.293 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002507/0.3784, allocations: 255.1 kB / 1.089 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3784, allocations: 0 / 1.089 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001016/0.3794, allocations: 343.4 kB / 1.089 GB, free: 5.711 MB / 0.8419 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.0001449/0.3796, allocations: 105.6 kB / 1.089 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002607/0.3822, allocations: 1.178 MB / 1.09 GB, free: 4.395 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3822, allocations: 0 / 1.09 GB, free: 4.395 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.3832, allocations: 0.5051 MB / 1.091 GB, free: 3.875 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006647/0.3839, allocations: 109.3 kB / 1.091 GB, free: 3.77 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.3855, allocations: 0.9975 MB / 1.092 GB, free: 2.742 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.3859, allocations: 0.8481 MB / 1.093 GB, free: 1.867 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001549/0.3861, allocations: 39.27 kB / 1.093 GB, free: 1.832 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.3861, allocations: 23.44 kB / 1.093 GB, free: 1.809 MB / 0.8419 GB Notification: Performance of SimCode: time 4.81e-07/0.3862, allocations: 0 / 1.093 GB, free: 1.809 MB / 0.8419 GB Notification: Performance of Templates: time 0.02093/0.4071, allocations: 12.35 MB / 1.105 GB, free: 5.59 MB / 0.8575 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches