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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001091/0.001091, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.007783/0.007783, allocations: 170 kB / 16.27 MB, free: 6.652 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.331/1.331, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.337/2.337, allocations: 390.9 MB / 0.6663 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003361/0.0003361, allocations: 12 kB / 0.816 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6522/0.6526, allocations: 142.4 MB / 0.955 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.002591/0.6552, allocations: 2.641 MB / 0.9576 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.6564, allocations: 0.7701 MB / 0.9584 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.6566, allocations: 8.594 kB / 0.9584 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.6568, allocations: 40.17 kB / 0.9584 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.657, allocations: 122.1 kB / 0.9585 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.6574, allocations: 139.7 kB / 0.9587 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000385/0.6578, allocations: 496.9 kB / 0.9591 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002736/0.658, allocations: 187.5 kB / 0.9593 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.6583, allocations: 168.2 kB / 0.9595 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.6585, allocations: 183.7 kB / 0.9597 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.72e-05/0.6585, allocations: 15.12 kB / 0.9597 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.099e-05/0.6586, allocations: 15.12 kB / 0.9597 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.403e-05/0.6587, allocations: 77.3 kB / 0.9598 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.6588, allocations: 206.5 kB / 0.96 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.6592, allocations: 423.4 kB / 0.9604 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.6592, allocations: 1.094 kB / 0.9604 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6592, allocations: 0 / 0.9604 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.6592, allocations: 0 / 0.9604 GB, free: 3.609 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.001031/0.6602, allocations: 0.6705 MB / 0.961 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.6603, allocations: 9 kB / 0.961 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.94e-05/0.6604, allocations: 53.25 kB / 0.9611 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.6607, allocations: 319.7 kB / 0.9614 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.6607, allocations: 26.84 kB / 0.9614 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.023e-05/0.6608, allocations: 35.84 kB / 0.9614 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006004/0.6614, allocations: 384.4 kB / 0.9618 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.6614, allocations: 1.031 kB / 0.9618 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.6615, allocations: 15.41 kB / 0.9618 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.6615, allocations: 8.062 kB / 0.9618 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000562/0.662, allocations: 283.5 kB / 0.9621 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.6637, allocations: 1.464 MB / 0.9635 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005786/0.6643, allocations: 293.2 kB / 0.9638 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000411/0.6647, allocations: 187.4 kB / 0.964 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.806e-05/0.6648, allocations: 2.203 kB / 0.964 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.6648, allocations: 41.77 kB / 0.964 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=27): time 1.763e-06/0.6648, allocations: 0 / 0.964 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of matching and sorting (n=27): time 0.003045/0.6679, allocations: 0.9067 MB / 0.9649 GB, free: 224 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.6679, allocations: 54.5 kB / 0.965 GB, free: 160 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003822/0.6683, allocations: 364.5 kB / 0.9653 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.6683, allocations: 30.7 kB / 0.9653 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.6685, allocations: 217.7 kB / 0.9656 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.759e-05/0.6686, allocations: 93.34 kB / 0.9656 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.536e-05/0.6686, allocations: 29.89 kB / 0.9657 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.6688, allocations: 346.8 kB / 0.966 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/0.669, allocations: 100.1 kB / 0.9661 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.6693, allocations: 174 kB / 0.9663 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005119/0.6699, allocations: 262.3 kB / 0.9665 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6699, allocations: 9.062 kB / 0.9665 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001235/0.6711, allocations: 0.4884 MB / 0.967 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.542e-05/0.6712, allocations: 128.7 kB / 0.9671 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.6712, allocations: 1.625 kB / 0.9671 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007893/0.672, allocations: 188.4 kB / 0.9673 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.6722, allocations: 41.97 kB / 0.9673 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003401/0.6756, allocations: 2.471 MB / 0.9698 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004327/0.676, allocations: 45.27 kB / 0.9698 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.6761, allocations: 10.88 kB / 0.9698 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.6761, allocations: 6.188 kB / 0.9698 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001139/0.6772, allocations: 442.8 kB / 0.9702 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.6773, allocations: 6.75 kB / 0.9702 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006567/0.6779, allocations: 177.8 kB / 0.9704 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.6781, allocations: 38.59 kB / 0.9705 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002901/0.681, allocations: 2.392 MB / 0.9728 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003943/0.6814, allocations: 52.34 kB / 0.9728 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.6814, allocations: 12.12 kB / 0.9728 GB, free: 10.04 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 (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.0002116/0.6817, allocations: 224.2 kB / 0.9731 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.455e-05/0.6817, allocations: 45.77 kB / 0.9731 GB, free: 9.801 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.964e-05/0.6819, allocations: 54.14 kB / 0.9732 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.6819, allocations: 2.25 kB / 0.9732 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6819, allocations: 4.969 kB / 0.9732 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.6819, allocations: 4 kB / 0.9732 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004917/0.6824, allocations: 413.7 kB / 0.9736 GB, free: 9.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6824, allocations: 3.938 kB / 0.9736 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.6825, allocations: 24.55 kB / 0.9736 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006432/0.6832, allocations: 181.6 kB / 0.9738 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.6832, allocations: 5.312 kB / 0.9738 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002932/0.6861, allocations: 2.379 MB / 0.9761 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.6862, allocations: 0 / 0.9761 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.6873, allocations: 0.5426 MB / 0.9766 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.6874, allocations: 138.5 kB / 0.9768 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/0.6875, allocations: 5.031 kB / 0.9768 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/0.6878, allocations: 23.45 kB / 0.9768 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.261e-05/0.6879, allocations: 26.38 kB / 0.9768 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.6879, allocations: 4.125 kB / 0.9768 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000269/0.6882, allocations: 263.4 kB / 0.9771 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6882, allocations: 0 / 0.9771 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007601/0.6889, allocations: 258.6 kB / 0.9773 GB, free: 6.594 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 (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 Backend phase and start with SimCode phase: time 0.0001219/0.6891, allocations: 96.31 kB / 0.9774 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001511/0.6906, allocations: 0.7878 MB / 0.9782 GB, free: 6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6906, allocations: 0 / 0.9782 GB, free: 6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005375/0.6911, allocations: 332.5 kB / 0.9785 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005964/0.6917, allocations: 102.1 kB / 0.9786 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.6931, allocations: 0.813 MB / 0.9794 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.6934, allocations: 0.81 MB / 0.9802 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001642/0.6936, allocations: 39.27 kB / 0.9802 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.486e-05/0.6937, allocations: 23.22 kB / 0.9802 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of SimCode: time 3.91e-07/0.6937, allocations: 0 / 0.9802 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of Templates: time 0.01324/0.7069, allocations: 8.016 MB / 0.9881 GB, free: 12.71 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