Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.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_9_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_9_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.001162/0.001162, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001529/0.001529, allocations: 172.7 kB / 15.95 MB, free: 208 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.487/1.487, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.487/2.487, allocations: 390.9 MB / 0.666 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 8 kB / 0.8154 GB, free: 13.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7601/0.7604, allocations: 142.4 MB / 0.9544 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.002469/0.7629, allocations: 2.535 MB / 0.9569 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009718/0.7639, allocations: 0.7466 MB / 0.9577 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.7641, allocations: 3.969 kB / 0.9577 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.7642, allocations: 43.56 kB / 0.9577 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.7645, allocations: 114.7 kB / 0.9578 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.7647, allocations: 122.7 kB / 0.9579 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003691/0.7651, allocations: 471.8 kB / 0.9584 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002452/0.7654, allocations: 163.1 kB / 0.9585 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.7656, allocations: 159.9 kB / 0.9587 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.7658, allocations: 179.8 kB / 0.9589 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.969e-05/0.7658, allocations: 15.12 kB / 0.9589 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.212e-05/0.7659, allocations: 19.12 kB / 0.9589 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.999e-05/0.7659, allocations: 65.38 kB / 0.9589 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.508e-05/0.766, allocations: 95.89 kB / 0.959 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.7662, allocations: 310.8 kB / 0.9593 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.7663, allocations: 0.9688 kB / 0.9593 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7663, allocations: 0 / 0.9593 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.7663, allocations: 0 / 0.9593 GB, free: 3.922 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0009086/0.7672, allocations: 0.6782 MB / 0.96 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.7672, allocations: 9.656 kB / 0.96 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.821e-05/0.7673, allocations: 51.52 kB / 0.9601 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.7676, allocations: 318.5 kB / 0.9604 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.7677, allocations: 26.84 kB / 0.9604 GB, free: 3 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/0.7677, allocations: 30.66 kB / 0.9604 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005701/0.7683, allocations: 378.5 kB / 0.9608 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.7683, allocations: 5.312 kB / 0.9608 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.7683, allocations: 14.75 kB / 0.9608 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.7683, allocations: 8.25 kB / 0.9608 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000494/0.7688, allocations: 277.3 kB / 0.9611 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.7703, allocations: 1.464 MB / 0.9625 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005081/0.7708, allocations: 283.7 kB / 0.9628 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000339/0.7712, allocations: 185.2 kB / 0.9629 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.7712, allocations: 3.516 kB / 0.9629 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.7712, allocations: 39.75 kB / 0.963 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=27): time 1.312e-06/0.7712, allocations: 1.094 kB / 0.963 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=27): time 0.002559/0.7738, allocations: 0.8902 MB / 0.9639 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.7738, allocations: 57.66 kB / 0.9639 GB, free: 496 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/0.7742, allocations: 370.1 kB / 0.9643 GB, free: 256 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.7742, allocations: 30.89 kB / 0.9643 GB, free: 220 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.427e-05/0.7743, allocations: 213.1 kB / 0.9645 GB, free: 24 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.971e-05/0.7744, allocations: 97.91 kB / 0.9646 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.558e-05/0.7744, allocations: 5 kB / 0.9646 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.7746, allocations: 343.4 kB / 0.9649 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.7748, allocations: 98.7 kB / 0.965 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.7751, allocations: 163.9 kB / 0.9652 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.7753, allocations: 117.5 kB / 0.9653 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7753, allocations: 4.781 kB / 0.9653 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001097/0.7764, allocations: 496.9 kB / 0.9658 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.834e-05/0.7765, allocations: 125 kB / 0.9659 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.7765, allocations: 0.9688 kB / 0.9659 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006872/0.7772, allocations: 182.8 kB / 0.9661 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.7774, allocations: 53.58 kB / 0.9661 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003511/0.7809, allocations: 2.457 MB / 0.9685 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003258/0.7813, allocations: 48.33 kB / 0.9686 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.7813, allocations: 19.48 kB / 0.9686 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.7813, allocations: 4 kB / 0.9686 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001098/0.7824, allocations: 440.9 kB / 0.969 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.7824, allocations: 1 kB / 0.969 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005941/0.783, allocations: 183.4 kB / 0.9692 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.7832, allocations: 33.7 kB / 0.9692 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002927/0.7861, allocations: 2.384 MB / 0.9715 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/0.7864, allocations: 44.44 kB / 0.9716 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.7865, allocations: 8.031 kB / 0.9716 GB, free: 10.51 MB / 0.7325 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 (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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0002362/0.7867, allocations: 228.1 kB / 0.9718 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.511e-05/0.7868, allocations: 42.3 kB / 0.9718 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.7869, allocations: 54.7 kB / 0.9719 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.7869, allocations: 2.031 kB / 0.9719 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.7869, allocations: 1.094 kB / 0.9719 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.7869, allocations: 4 kB / 0.9719 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004969/0.7874, allocations: 412.8 kB / 0.9723 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.7874, allocations: 3.938 kB / 0.9723 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.7876, allocations: 37.19 kB / 0.9723 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006078/0.7882, allocations: 175.2 kB / 0.9725 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.7882, allocations: 5.562 kB / 0.9725 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003007/0.7912, allocations: 2.374 MB / 0.9748 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7912, allocations: 0 / 0.9748 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.7924, allocations: 0.5496 MB / 0.9754 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.7925, allocations: 143.2 kB / 0.9755 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.492e-05/0.7926, allocations: 5.281 kB / 0.9755 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.7928, allocations: 17.83 kB / 0.9755 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.677e-05/0.7929, allocations: 26.67 kB / 0.9755 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.7929, allocations: 5.375 kB / 0.9756 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000285/0.7932, allocations: 258.8 kB / 0.9758 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7932, allocations: 1.344 kB / 0.9758 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000781/0.794, allocations: 265.4 kB / 0.9761 GB, free: 7.043 MB / 0.7325 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 (11): * Single equations (assignments): 10 * 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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001322/0.7942, allocations: 105 kB / 0.9762 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001426/0.7956, allocations: 0.771 MB / 0.9769 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.7956, allocations: 0 / 0.9769 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000534/0.7962, allocations: 317.3 kB / 0.9772 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005665/0.7967, allocations: 105.9 kB / 0.9773 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.7981, allocations: 0.8008 MB / 0.9781 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.7985, allocations: 0.81 MB / 0.9789 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000179/0.7987, allocations: 36.52 kB / 0.9789 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.632e-05/0.7988, allocations: 26.16 kB / 0.9789 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.7988, allocations: 0 / 0.9789 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of Templates: time 0.01413/0.8129, allocations: 7.705 MB / 0.9865 GB, free: 13.89 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches