Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.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.Validation.HeatCapacityConstantShade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCapGla.portUns.T|heaCapGla.portSha.T|heaCapGla01.TUns|heaCapGla01.TSha|heaCapGlaNoSha.TUns",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCapGla.portUns.T|heaCapGla.portSha.T|heaCapGla01.TUns|heaCapGla01.TSha|heaCapGlaNoSha.TUns",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008624/0.0008621, 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.0009327/0.0009329, 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.42/1.42, allocations: 223.3 MB / 240 MB, free: 5.445 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.345/2.345, allocations: 390.9 MB / 0.666 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003491, allocations: 15.98 kB / 0.8154 GB, free: 13.56 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7712/0.7715, allocations: 142.4 MB / 0.9544 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade): time 0.003408/0.775, allocations: 2.582 MB / 0.957 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.7767, allocations: 0.8442 MB / 0.9578 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004342/0.7772, allocations: 7.062 kB / 0.9578 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004674/0.7777, allocations: 112.2 kB / 0.9579 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.7779, allocations: 121.4 kB / 0.958 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.7781, allocations: 62.31 kB / 0.9581 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000379/0.7785, allocations: 425.5 kB / 0.9585 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/0.7787, allocations: 121.3 kB / 0.9586 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.7788, allocations: 132.6 kB / 0.9587 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.779, allocations: 155.2 kB / 0.9589 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.455e-05/0.7791, allocations: 16.5 kB / 0.9589 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.945e-05/0.7791, allocations: 16.5 kB / 0.9589 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.293e-05/0.7792, allocations: 62.7 kB / 0.959 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.294e-05/0.7792, allocations: 96.02 kB / 0.959 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.7795, allocations: 288.2 kB / 0.9593 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.7795, allocations: 0 / 0.9593 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.253e-06/0.7795, allocations: 0 / 0.9593 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.7795, allocations: 0 / 0.9593 GB, free: 3.973 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0007279/0.7802, allocations: 0.597 MB / 0.9599 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.7803, allocations: 9.625 kB / 0.9599 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.7804, allocations: 41.53 kB / 0.9599 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.7807, allocations: 290 kB / 0.9602 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.7808, allocations: 28.12 kB / 0.9603 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.6e-05/0.7808, allocations: 43.44 kB / 0.9603 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005173/0.7814, allocations: 354.9 kB / 0.9606 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/0.7814, allocations: 6.266 kB / 0.9606 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/0.7814, allocations: 15.94 kB / 0.9607 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.7815, allocations: 17.17 kB / 0.9607 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003625/0.7818, allocations: 204.3 kB / 0.9609 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.7833, allocations: 1.479 MB / 0.9623 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004038/0.7837, allocations: 292.5 kB / 0.9626 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.7839, allocations: 113.3 kB / 0.9627 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.7839, allocations: 7.688 kB / 0.9627 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.7839, allocations: 37.56 kB / 0.9627 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 1.403e-06/0.7839, allocations: 0 / 0.9627 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.0005367/0.7845, allocations: 279.2 kB / 0.963 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.7845, allocations: 132.3 kB / 0.9631 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.7848, allocations: 239.6 kB / 0.9634 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.7848, allocations: 30.7 kB / 0.9634 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.367e-05/0.7849, allocations: 189 kB / 0.9636 GB, free: 384 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.177e-05/0.7849, allocations: 119.5 kB / 0.9637 GB, free: 276 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.007e-05/0.785, allocations: 6.344 kB / 0.9637 GB, free: 272 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.332e-05/0.7851, allocations: 340.5 kB / 0.964 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.7852, allocations: 69.78 kB / 0.9641 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.7854, allocations: 144 kB / 0.9642 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.7856, allocations: 105.9 kB / 0.9643 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.7856, allocations: 0 / 0.9643 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004675/0.786, allocations: 294.8 kB / 0.9646 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.7861, allocations: 14.08 kB / 0.9646 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.7861, allocations: 3.375 kB / 0.9646 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.7861, allocations: 6.812 kB / 0.9646 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.7864, allocations: 89.5 kB / 0.9647 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.7865, allocations: 11.66 kB / 0.9647 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.7866, allocations: 37.08 kB / 0.9648 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.7867, allocations: 13.69 kB / 0.9648 GB, free: 15.5 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (45): * Single equations (assignments): 45 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001546/0.7868, allocations: 152.2 kB / 0.9649 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.787, allocations: 30.59 kB / 0.9649 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.195e-05/0.787, allocations: 40.2 kB / 0.965 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.7871, allocations: 3.5 kB / 0.965 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.7871, allocations: 1.375 kB / 0.965 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.7871, allocations: 1.281 kB / 0.965 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006039/0.7877, allocations: 351.2 kB / 0.9653 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.7877, allocations: 0.8438 kB / 0.9653 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003704/0.7881, allocations: 80.52 kB / 0.9654 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.7881, allocations: 7.469 kB / 0.9654 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.853e-05/0.7881, allocations: 10.47 kB / 0.9654 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.7881, allocations: 1.875 kB / 0.9654 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.7881, allocations: 1.156 kB / 0.9654 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006463/0.7888, allocations: 0.617 MB / 0.966 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.7889, allocations: 127.6 kB / 0.9661 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/0.789, allocations: 7.188 kB / 0.9662 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.7892, allocations: 16.61 kB / 0.9662 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.7893, allocations: 17.25 kB / 0.9662 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.7893, allocations: 16.39 kB / 0.9662 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001508/0.7895, allocations: 167.3 kB / 0.9664 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7895, allocations: 0 / 0.9664 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005252/0.79, allocations: 94.62 kB / 0.9664 GB, free: 14.18 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (heaCapGla01.TUns,heaCapUns2.T,heaCapGlaNoSha.TUns,heaCapUns3.T,heaCapGla.TUns,heaCapGla.TSha,heaCapSha1.T,heaCapUns1.T,heaCapGla01.TSha,heaCapSha2.T) * 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 (30): * Single equations (assignments): 30 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001569/0.7902, allocations: 121.4 kB / 0.9666 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004018/0.7906, allocations: 197.7 kB / 0.9668 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.7906, allocations: 1.312 kB / 0.9668 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.7908, allocations: 96.41 kB / 0.9668 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000708/0.7915, allocations: 57.23 kB / 0.9669 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.7936, allocations: 1.392 MB / 0.9683 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004696/0.7941, allocations: 0.784 MB / 0.969 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001436/0.7943, allocations: 35.7 kB / 0.9691 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.462e-05/0.7943, allocations: 24.72 kB / 0.9691 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of SimCode: time 5.81e-07/0.7943, allocations: 0.75 kB / 0.9691 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of Templates: time 0.006259/0.8006, allocations: 2.306 MB / 0.9713 GB, free: 10.93 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches