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.00117/0.00117, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001309/0.001309, allocations: 168.7 kB / 15.95 MB, free: 204 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.47/1.47, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.92/2.92, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004046, allocations: 9.344 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4268/0.4272, allocations: 159.6 MB / 1.058 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.005664/0.4329, allocations: 2.825 MB / 1.061 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002429/0.4354, allocations: 0.822 MB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003152/0.4358, allocations: 4 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.436, allocations: 51.55 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00039/0.4364, allocations: 146.9 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004924/0.4369, allocations: 138.3 kB / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007341/0.4376, allocations: 0.5922 MB / 1.062 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003347/0.438, allocations: 175.4 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002949/0.4383, allocations: 211.2 kB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003178/0.4386, allocations: 243 kB / 1.063 GB, free: 112 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.569e-05/0.4387, allocations: 24 kB / 1.063 GB, free: 88 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.299e-05/0.4387, allocations: 24 kB / 1.063 GB, free: 64 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.4389, allocations: 83.73 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.439, allocations: 109.5 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004035/0.4394, allocations: 426.9 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.4394, allocations: 0 / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.615e-06/0.4394, allocations: 0 / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.4394, allocations: 0 / 1.064 GB, free: 15.45 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.001402/0.4408, allocations: 0.7483 MB / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.4409, allocations: 8.031 kB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.441, allocations: 59.34 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000439/0.4414, allocations: 330.2 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.4415, allocations: 29 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.501e-05/0.4416, allocations: 55.95 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007157/0.4423, allocations: 398.4 kB / 1.065 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.4423, allocations: 0 / 1.065 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.902e-05/0.4423, allocations: 16 kB / 1.065 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.4424, allocations: 12 kB / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007168/0.4431, allocations: 351.8 kB / 1.066 GB, free: 13.37 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.002299/0.4454, allocations: 1.489 MB / 1.067 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007352/0.4461, allocations: 401 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004715/0.4466, allocations: 240.8 kB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.929e-05/0.4467, allocations: 8 kB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.4467, allocations: 34.55 kB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=41): time 1.874e-06/0.4467, allocations: 0 / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=41): time 0.007018/0.4538, allocations: 1.816 MB / 1.07 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.4538, allocations: 55.41 kB / 1.07 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004231/0.4543, allocations: 357.6 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.188e-05/0.4543, allocations: 29.7 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.4545, allocations: 212.7 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.4546, allocations: 141.8 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.189e-05/0.4547, allocations: 12 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.4548, allocations: 350.8 kB / 1.071 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/0.4551, allocations: 131.9 kB / 1.071 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003392/0.4555, allocations: 209.9 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002965/0.4558, allocations: 159.9 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.4558, allocations: 3.938 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001961/0.4578, allocations: 0.7438 MB / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.2e-05/0.4579, allocations: 101 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.4579, allocations: 0 / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001682/0.4596, allocations: 452.9 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.4597, allocations: 31.91 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006239/0.466, allocations: 3.852 MB / 1.076 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004165/0.4664, allocations: 47.64 kB / 1.076 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.284e-05/0.4665, allocations: 12 kB / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.4665, allocations: 8 kB / 1.076 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001716/0.4682, allocations: 0.6678 MB / 1.077 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/0.4682, allocations: 0 / 1.077 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/0.4696, allocations: 432.7 kB / 1.077 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.4697, allocations: 23.98 kB / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005498/0.4752, allocations: 3.679 MB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004157/0.4756, allocations: 59.67 kB / 1.081 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.4757, allocations: 12 kB / 1.081 GB, free: 13.18 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 (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.0002565/0.4759, allocations: 221.1 kB / 1.081 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.87e-05/0.476, allocations: 47.44 kB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001758/0.4762, allocations: 60.47 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.4762, allocations: 4 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.4762, allocations: 3.938 kB / 1.081 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.4762, allocations: 3.953 kB / 1.081 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006069/0.4768, allocations: 0.494 MB / 1.082 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4769, allocations: 0 / 1.082 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.477, allocations: 40.03 kB / 1.082 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001336/0.4783, allocations: 393 kB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.4784, allocations: 4 kB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005433/0.4838, allocations: 3.678 MB / 1.086 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.4838, allocations: 0 / 1.086 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001805/0.4856, allocations: 0.8125 MB / 1.087 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.4858, allocations: 144.5 kB / 1.087 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.6e-05/0.4858, allocations: 7.953 kB / 1.087 GB, free: 7.039 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.4861, allocations: 35.83 kB / 1.087 GB, free: 7.004 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-05/0.4862, allocations: 47.66 kB / 1.087 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.4863, allocations: 12 kB / 1.087 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002569/0.4865, allocations: 247.2 kB / 1.087 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4865, allocations: 0 / 1.087 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001124/0.4877, allocations: 339.5 kB / 1.087 GB, free: 6.371 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 (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.0002315/0.4879, allocations: 103.2 kB / 1.087 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002545/0.4905, allocations: 1.179 MB / 1.089 GB, free: 5.055 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4905, allocations: 0 / 1.089 GB, free: 5.055 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009594/0.4914, allocations: 0.4978 MB / 1.089 GB, free: 4.543 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006203/0.4921, allocations: 117.3 kB / 1.089 GB, free: 4.43 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.4937, allocations: 0.9884 MB / 1.09 GB, free: 3.418 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/0.4942, allocations: 0.8443 MB / 1.091 GB, free: 2.547 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001481/0.4943, allocations: 35.28 kB / 1.091 GB, free: 2.516 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.08e-05/0.4944, allocations: 19.44 kB / 1.091 GB, free: 2.496 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/0.4944, allocations: 0 / 1.091 GB, free: 2.496 MB / 0.8419 GB Notification: Performance of Templates: time 0.02154/0.5159, allocations: 11.95 MB / 1.103 GB, free: 6.676 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