Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002185/0.002185, allocations: 217.5 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.151/3.151, allocations: 0.49 GB / 0.7959 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0029/0.0029, allocations: 61.81 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3707, allocations: 176.1 MB / 1.327 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.009785/0.3805, allocations: 7.085 MB / 1.334 GB, free: 10.82 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2453/0.6258, allocations: 158.9 MB / 1.489 GB, free: 11.32 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001427/0.6272, allocations: 35.75 kB / 1.489 GB, free: 11.29 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.005507/0.6327, allocations: 2 MB / 1.491 GB, free: 9.281 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003722/0.6364, allocations: 0.9087 MB / 1.492 GB, free: 8.371 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003103/0.6395, allocations: 1.037 MB / 1.493 GB, free: 7.34 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004972/0.6445, allocations: 2.683 MB / 1.495 GB, free: 4.648 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001688/0.6462, allocations: 0.6456 MB / 1.496 GB, free: 3.957 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001987/0.6482, allocations: 0.9384 MB / 1.497 GB, free: 3.016 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002346/0.6505, allocations: 0.9726 MB / 1.498 GB, free: 2.039 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0006676/0.6512, allocations: 184 kB / 1.498 GB, free: 1.859 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005907/0.6571, allocations: 2.785 MB / 1.501 GB, free: 15.07 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001783/0.6589, allocations: 1.251 MB / 1.502 GB, free: 13.82 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.003034/0.6619, allocations: 1.43 MB / 1.503 GB, free: 12.38 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01003/0.6719, allocations: 5.572 MB / 1.509 GB, free: 6.789 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 1.133e-05/0.6719, allocations: 8 kB / 1.509 GB, free: 6.781 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.914e-06/0.672, allocations: 0 / 1.509 GB, free: 6.781 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001587/0.6721, allocations: 0 / 1.509 GB, free: 6.781 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.01095/0.6831, allocations: 4.028 MB / 1.513 GB, free: 2.695 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.6831, allocations: 12.03 kB / 1.513 GB, free: 2.684 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.43e-05/0.6832, allocations: 38.73 kB / 1.513 GB, free: 2.645 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000435/0.6836, allocations: 190.3 kB / 1.513 GB, free: 2.449 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003437/0.687, allocations: 438.8 kB / 1.513 GB, free: 2.02 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09658/0.7836, allocations: 87.64 MB / 1.599 GB, free: 10.29 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.7838, allocations: 102.5 kB / 1.599 GB, free: 10.19 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004432/0.7842, allocations: 140 kB / 1.599 GB, free: 10.05 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00341/0.7876, allocations: 1.36 MB / 1.6 GB, free: 8.629 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.7876, allocations: 4 kB / 1.6 GB, free: 8.625 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001807/0.7878, allocations: 55.98 kB / 1.601 GB, free: 8.57 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.944e-05/0.7879, allocations: 32 kB / 1.601 GB, free: 8.539 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003181/0.791, allocations: 1.493 MB / 1.602 GB, free: 7.039 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6914/1.482, allocations: 23.92 MB / 1.625 GB, free: 277.4 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002116/1.485, allocations: 1.057 MB / 1.626 GB, free: 277.1 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000711/1.485, allocations: 411.8 kB / 1.627 GB, free: 276.9 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 8.508e-05/1.485, allocations: 37.41 kB / 1.627 GB, free: 276.9 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/1.486, allocations: 0.6443 MB / 1.627 GB, free: 276.7 MB / 1.295 GB Notification: Performance of pre-optimization done (n=100): time 2.635e-06/1.486, allocations: 2.25 kB / 1.627 GB, free: 276.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=100): time 0.00455/1.491, allocations: 1.678 MB / 1.629 GB, free: 276.2 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.328e-05/1.491, allocations: 194.7 kB / 1.629 GB, free: 276 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08346/1.575, allocations: 99.45 MB / 1.726 GB, free: 183.8 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003196/1.575, allocations: 49.7 kB / 1.726 GB, free: 183.8 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001148/1.576, allocations: 1.075 MB / 1.727 GB, free: 182.8 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003625/1.576, allocations: 337.1 kB / 1.728 GB, free: 182.5 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004306/1.577, allocations: 246.5 kB / 1.728 GB, free: 182.3 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 8.523e-05/1.577, allocations: 349.9 kB / 1.728 GB, free: 181.9 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000787/1.578, allocations: 490.4 kB / 1.729 GB, free: 181.4 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008394/1.578, allocations: 0.6307 MB / 1.729 GB, free: 180.8 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/1.58, allocations: 1.007 MB / 1.73 GB, free: 179.8 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/1.58, allocations: 0 / 1.73 GB, free: 179.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00334/1.583, allocations: 1.524 MB / 1.732 GB, free: 178.2 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/1.583, allocations: 7.719 kB / 1.732 GB, free: 178.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.583, allocations: 1.594 kB / 1.732 GB, free: 178.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006023/1.584, allocations: 83 kB / 1.732 GB, free: 178.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009198/1.585, allocations: 239.2 kB / 1.732 GB, free: 177.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/1.587, allocations: 1.539 MB / 1.734 GB, free: 176.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/1.588, allocations: 278.5 kB / 1.734 GB, free: 176 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/1.589, allocations: 47.97 kB / 1.734 GB, free: 176 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 18 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 137 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001272/1.59, allocations: 0.8196 MB / 1.735 GB, free: 175.2 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/1.591, allocations: 230.5 kB / 1.735 GB, free: 175 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003318/1.594, allocations: 1.62 MB / 1.737 GB, free: 173.4 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/1.594, allocations: 15.88 kB / 1.737 GB, free: 173.3 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.594, allocations: 3.984 kB / 1.737 GB, free: 173.3 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/1.594, allocations: 7.172 kB / 1.737 GB, free: 173.3 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003277/1.598, allocations: 1.94 MB / 1.739 GB, free: 171.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/1.598, allocations: 3.938 kB / 1.739 GB, free: 171.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007462/1.598, allocations: 183.7 kB / 1.739 GB, free: 171.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004675/1.599, allocations: 72.69 kB / 1.739 GB, free: 171.1 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-05/1.599, allocations: 31.97 kB / 1.739 GB, free: 171.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/1.6, allocations: 1.549 MB / 1.74 GB, free: 169.4 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.6, allocations: 6.375 kB / 1.74 GB, free: 169.4 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003779/1.604, allocations: 1.373 MB / 1.742 GB, free: 168.1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002508/1.607, allocations: 0.7025 MB / 1.742 GB, free: 167.4 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001254/1.608, allocations: 32.11 kB / 1.742 GB, free: 167.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002082/1.61, allocations: 184.2 kB / 1.743 GB, free: 167.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002508/1.61, allocations: 92.83 kB / 1.743 GB, free: 167.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.955e-05/1.61, allocations: 43.98 kB / 1.743 GB, free: 167 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0509/1.661, allocations: 79.42 MB / 1.82 GB, free: 87.58 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.91e-07/1.661, allocations: 0 / 1.82 GB, free: 87.58 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002899/1.664, allocations: 1.038 MB / 1.821 GB, free: 86.66 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007419/1.672, allocations: 2.787 MB / 1.824 GB, free: 84.21 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002387/1.674, allocations: 1.199 MB / 1.825 GB, free: 83 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/1.674, allocations: 4 kB / 1.825 GB, free: 83 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/1.675, allocations: 0.6272 MB / 1.826 GB, free: 82.36 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003188/1.678, allocations: 422.3 kB / 1.826 GB, free: 81.96 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.048/2.727, allocations: 407.2 MB / 2.224 GB, free: 0.5737 GB / 1.607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/2.728, allocations: 1.721 MB / 2.226 GB, free: 0.573 GB / 1.607 GB Notification: Performance of simCode: alias equations: time 0.00212/2.73, allocations: 0.7796 MB / 2.226 GB, free: 0.573 GB / 1.607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001804/2.732, allocations: 1.112 MB / 2.227 GB, free: 0.5726 GB / 1.607 GB Notification: Performance of SimCode: time 1.052e-06/2.732, allocations: 0 / 2.227 GB, free: 0.5726 GB / 1.607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1582/2.89, allocations: 114.3 MB / 2.339 GB, free: 496.1 MB / 1.607 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.51/21.4, allocations: 11.81 kB / 2.339 GB, free: 496.1 MB / 1.607 GB " [Timeout remaining time 278] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 28.656040788977407]