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.001015/0.001015, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 187.4 kB / 16.92 MB, free: 6.77 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.358/1.358, allocations: 223.3 MB / 241 MB, free: 5.336 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.388/2.388, allocations: 390.9 MB / 0.667 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003435, allocations: 8 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6157/0.6161, allocations: 142.4 MB / 0.9557 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade): time 0.002528/0.6186, allocations: 2.693 MB / 0.9583 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.6197, allocations: 0.875 MB / 0.9592 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.6198, allocations: 5.906 kB / 0.9592 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.6202, allocations: 111.7 kB / 0.9593 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.6204, allocations: 127.1 kB / 0.9594 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000123/0.6205, allocations: 77.55 kB / 0.9595 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003161/0.6209, allocations: 434.6 kB / 0.9599 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.6211, allocations: 134.2 kB / 0.96 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.6212, allocations: 140.3 kB / 0.9602 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.6214, allocations: 160.6 kB / 0.9603 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.619e-05/0.6214, allocations: 15.91 kB / 0.9603 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.621e-05/0.6215, allocations: 16.09 kB / 0.9604 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.494e-05/0.6215, allocations: 65.88 kB / 0.9604 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.6217, allocations: 201.8 kB / 0.9606 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.6219, allocations: 287.6 kB / 0.9609 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.6219, allocations: 1.375 kB / 0.9609 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6219, allocations: 0 / 0.9609 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.6219, allocations: 0 / 0.9609 GB, free: 3.754 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.0007049/0.6227, allocations: 0.5815 MB / 0.9615 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.6227, allocations: 9.625 kB / 0.9615 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.205e-05/0.6228, allocations: 46.47 kB / 0.9615 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.6231, allocations: 307.1 kB / 0.9618 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.6232, allocations: 28.5 kB / 0.9618 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-05/0.6232, allocations: 39.69 kB / 0.9619 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004739/0.6237, allocations: 370.6 kB / 0.9622 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.6237, allocations: 5 kB / 0.9622 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.6238, allocations: 12.75 kB / 0.9622 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.6238, allocations: 9.188 kB / 0.9623 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003353/0.6241, allocations: 206.5 kB / 0.9625 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.6253, allocations: 1.482 MB / 0.9639 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000377/0.6257, allocations: 284.6 kB / 0.9642 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.6259, allocations: 121.5 kB / 0.9643 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.6259, allocations: 3.312 kB / 0.9643 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.6259, allocations: 45.34 kB / 0.9643 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 2.474e-06/0.626, allocations: 5.016 kB / 0.9643 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.0005217/0.6265, allocations: 269.3 kB / 0.9646 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.6265, allocations: 139.2 kB / 0.9647 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.6267, allocations: 242.3 kB / 0.965 GB, free: 356 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.6268, allocations: 31.17 kB / 0.965 GB, free: 320 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.899e-05/0.6269, allocations: 188.5 kB / 0.9652 GB, free: 144 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.409e-05/0.6269, allocations: 119.9 kB / 0.9653 GB, free: 36 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.627, allocations: 35.95 kB / 0.9653 GB, free: 4 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.6271, allocations: 337.4 kB / 0.9656 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.6272, allocations: 71.06 kB / 0.9657 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.6274, allocations: 152.1 kB / 0.9658 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/0.6278, allocations: 245.2 kB / 0.9661 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.6278, allocations: 1.406 kB / 0.9661 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004244/0.6282, allocations: 300.3 kB / 0.9664 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.6282, allocations: 8.906 kB / 0.9664 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.6282, allocations: 11.97 kB / 0.9664 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.6283, allocations: 2.969 kB / 0.9664 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/0.6286, allocations: 86.72 kB / 0.9665 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.6286, allocations: 3.438 kB / 0.9665 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.6288, allocations: 44.77 kB / 0.9665 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.6288, allocations: 10.03 kB / 0.9665 GB, free: 15.12 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001499/0.629, allocations: 160.2 kB / 0.9667 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.6291, allocations: 30.69 kB / 0.9667 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.381e-05/0.6292, allocations: 31.61 kB / 0.9667 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.6292, allocations: 4 kB / 0.9667 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.6292, allocations: 1.281 kB / 0.9667 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-06/0.6292, allocations: 5.172 kB / 0.9668 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005828/0.6298, allocations: 343.8 kB / 0.9671 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.6298, allocations: 0 / 0.9671 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003747/0.6302, allocations: 84.92 kB / 0.9672 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.6302, allocations: 2.5 kB / 0.9672 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.6302, allocations: 10.97 kB / 0.9672 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.6302, allocations: 3.031 kB / 0.9672 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6302, allocations: 1.344 kB / 0.9672 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006124/0.6309, allocations: 0.6178 MB / 0.9678 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.631, allocations: 123.6 kB / 0.9679 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.631, allocations: 19.08 kB / 0.9679 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.6313, allocations: 9.188 kB / 0.9679 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.6313, allocations: 13.17 kB / 0.9679 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.6314, allocations: 15.14 kB / 0.968 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001729/0.6315, allocations: 173.9 kB / 0.9681 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6315, allocations: 1.031 kB / 0.9681 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005178/0.6321, allocations: 97.81 kB / 0.9682 GB, free: 13.8 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001435/0.6322, allocations: 114 kB / 0.9683 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000371/0.6326, allocations: 200.7 kB / 0.9685 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.6326, allocations: 1 kB / 0.9685 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.6327, allocations: 94.12 kB / 0.9686 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007056/0.6335, allocations: 60.09 kB / 0.9687 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.6356, allocations: 1.455 MB / 0.9701 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.636, allocations: 0.784 MB / 0.9708 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.547e-05/0.636, allocations: 27.81 kB / 0.9709 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of SimCode: time 4.3e-07/0.636, allocations: 0 / 0.9709 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of Templates: time 0.005765/0.6418, allocations: 3.443 MB / 0.9742 GB, free: 9.82 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/jenkins1/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