Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Shade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extShaCon.TSha|TRadOut.T|TRadRoo.T|extShaCon.air.Q_flow|extShaCon.glass.Q_flow|extNonShaCon.air.Q_flow|extNonShaCon.glass.Q_flow",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extShaCon.TSha|TRadOut.T|TRadRoo.T|extShaCon.air.Q_flow|extShaCon.glass.Q_flow|extNonShaCon.air.Q_flow|extNonShaCon.glass.Q_flow",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 109.6 kB / 16.41 MB, free: 6.426 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.001162/0.001162, allocations: 190.7 kB / 17.35 MB, free: 5.688 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.588/2.588, allocations: 472.7 MB / 0.746 GB, free: 412 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.91 kB / 1.07 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6777/0.679, allocations: 159.9 MB / 1.226 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.003719/0.6827, allocations: 2.978 MB / 1.229 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.684, allocations: 0.783 MB / 1.23 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.6842, allocations: 4 kB / 1.23 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.6844, allocations: 55.39 kB / 1.23 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.6847, allocations: 146.8 kB / 1.23 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003669/0.685, allocations: 163.8 kB / 1.23 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004745/0.6855, allocations: 0.5144 MB / 1.231 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003073/0.6858, allocations: 202.3 kB / 1.231 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.6861, allocations: 203.2 kB / 1.231 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.6864, allocations: 226.9 kB / 1.231 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.331e-05/0.6864, allocations: 36 kB / 1.232 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.429e-05/0.6865, allocations: 44 kB / 1.232 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.812e-05/0.6866, allocations: 95.61 kB / 1.232 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.6868, allocations: 214.9 kB / 1.232 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004538/0.6873, allocations: 466.3 kB / 1.232 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.6873, allocations: 0 / 1.232 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.153e-06/0.6873, allocations: 0 / 1.232 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.6873, allocations: 0 / 1.232 GB, free: 7.297 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001173/0.6885, allocations: 0.7363 MB / 1.233 GB, free: 6.512 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.6885, allocations: 8.031 kB / 1.233 GB, free: 6.504 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.338e-05/0.6886, allocations: 52.61 kB / 1.233 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.689, allocations: 331.5 kB / 1.233 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.6891, allocations: 29.38 kB / 1.233 GB, free: 6.066 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.935e-05/0.6891, allocations: 36.38 kB / 1.233 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005966/0.6897, allocations: 381.2 kB / 1.234 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.6897, allocations: 3.938 kB / 1.234 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.949e-05/0.6898, allocations: 16 kB / 1.234 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.6898, allocations: 16 kB / 1.234 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005415/0.6903, allocations: 270.4 kB / 1.234 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001749/0.6921, allocations: 1.452 MB / 1.236 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005543/0.6927, allocations: 271.5 kB / 1.236 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003855/0.6931, allocations: 181.2 kB / 1.236 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.898e-05/0.6931, allocations: 4.234 kB / 1.236 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.6931, allocations: 42.66 kB / 1.236 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=27): time 1.873e-06/0.6931, allocations: 0 / 1.236 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of matching and sorting (n=27): time 0.00297/0.6961, allocations: 0.8843 MB / 1.237 GB, free: 2.383 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.6962, allocations: 51.41 kB / 1.237 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000353/0.6965, allocations: 365.7 kB / 1.237 GB, free: 1.953 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.6966, allocations: 33.7 kB / 1.237 GB, free: 1.914 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.6967, allocations: 216.5 kB / 1.238 GB, free: 1.699 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.106e-05/0.6968, allocations: 103.1 kB / 1.238 GB, free: 1.598 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.38e-05/0.6969, allocations: 57.98 kB / 1.238 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.697, allocations: 346.8 kB / 1.238 GB, free: 1.188 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.6972, allocations: 105.9 kB / 1.238 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.6975, allocations: 164.4 kB / 1.238 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004578/0.6979, allocations: 261 kB / 1.239 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.698, allocations: 0 / 1.239 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001142/0.6991, allocations: 485.7 kB / 1.239 GB, free: 144 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.6991, allocations: 4 kB / 1.239 GB, free: 140 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.6991, allocations: 7.984 kB / 1.239 GB, free: 132 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00079/0.6999, allocations: 184.8 kB / 1.239 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.7001, allocations: 35.92 kB / 1.239 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00335/0.7035, allocations: 2.659 MB / 1.242 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003507/0.7038, allocations: 43.7 kB / 1.242 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.7039, allocations: 8 kB / 1.242 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003117/0.7042, allocations: 217.8 kB / 1.242 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002479/0.7045, allocations: 167.2 kB / 1.242 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004463/0.7049, allocations: 261.3 kB / 1.242 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.403e-06/0.7049, allocations: 0 / 1.242 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.001089/0.706, allocations: 493.7 kB / 1.243 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.706, allocations: 8 kB / 1.243 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/0.706, allocations: 0 / 1.243 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006386/0.7067, allocations: 184.8 kB / 1.243 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.7069, allocations: 43.91 kB / 1.243 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00294/0.7098, allocations: 2.591 MB / 1.246 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003414/0.7102, allocations: 31.86 kB / 1.246 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.7102, allocations: 8 kB / 1.246 GB, free: 8.906 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 17 * 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 {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.7103, allocations: 196.7 kB / 1.246 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.189e-05/0.7104, allocations: 39.77 kB / 1.246 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.1e-05/0.7105, allocations: 48.16 kB / 1.246 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.7105, allocations: 4.062 kB / 1.246 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.7105, allocations: 0 / 1.246 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.7106, allocations: 144.7 kB / 1.246 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.208e-05/0.7107, allocations: 4 kB / 1.246 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.7109, allocations: 15.98 kB / 1.246 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.844e-05/0.711, allocations: 31.88 kB / 1.246 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001344/0.7124, allocations: 0.5342 MB / 1.247 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007593/0.7132, allocations: 0.5765 MB / 1.247 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002048/0.7134, allocations: 104.6 kB / 1.247 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002417/0.7136, allocations: 259.2 kB / 1.248 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of Backend: time 4.81e-07/0.7136, allocations: 0 / 1.248 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001561/0.7152, allocations: 0.775 MB / 1.248 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001277/0.7165, allocations: 1.226 MB / 1.25 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of Templates: time 0.01322/0.7297, allocations: 7.878 MB / 1.257 GB, free: 13.02 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches