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.001702/0.001702, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002149/0.002149, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.6/1.6, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.272/3.272, allocations: 0.49 GB / 0.7959 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 176] 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.002092/0.002092, allocations: 66.41 kB / 1.155 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3371, allocations: 176.1 MB / 1.327 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.009324/0.3464, allocations: 6.229 MB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1736/0.5201, allocations: 136.9 MB / 1.466 GB, free: 1.836 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.5215, allocations: 35.75 kB / 1.466 GB, free: 1.801 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.004851/0.5264, allocations: 1.945 MB / 1.468 GB, free: 15.85 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002769/0.5291, allocations: 0.9053 MB / 1.469 GB, free: 14.94 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002549/0.5317, allocations: 1.019 MB / 1.47 GB, free: 13.93 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003312/0.535, allocations: 2.687 MB / 1.473 GB, free: 11.23 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.5361, allocations: 0.6456 MB / 1.473 GB, free: 10.54 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.5375, allocations: 0.9385 MB / 1.474 GB, free: 9.602 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001464/0.5389, allocations: 0.9765 MB / 1.475 GB, free: 8.621 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003206/0.5393, allocations: 184 kB / 1.475 GB, free: 8.441 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00504/0.5443, allocations: 2.715 MB / 1.478 GB, free: 5.723 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001494/0.5458, allocations: 1.251 MB / 1.479 GB, free: 4.469 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001552/0.5473, allocations: 1.159 MB / 1.48 GB, free: 3.305 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.009823/0.5572, allocations: 5.584 MB / 1.486 GB, free: 13.7 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.5572, allocations: 0 / 1.486 GB, free: 13.7 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5572, allocations: 0 / 1.486 GB, free: 13.7 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001023/0.5573, allocations: 0 / 1.486 GB, free: 13.7 MB / 1.186 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.01073/0.568, allocations: 4.082 MB / 1.49 GB, free: 9.562 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.568, allocations: 15.97 kB / 1.49 GB, free: 9.547 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.746e-05/0.5681, allocations: 34.73 kB / 1.49 GB, free: 9.512 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002493/0.5684, allocations: 190.3 kB / 1.49 GB, free: 9.316 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003228/0.5716, allocations: 438.8 kB / 1.491 GB, free: 8.887 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09394/0.6655, allocations: 87.64 MB / 1.576 GB, free: 1.148 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.6657, allocations: 106.5 kB / 1.576 GB, free: 1.043 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000434/0.6661, allocations: 132 kB / 1.576 GB, free: 0.9141 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003724/0.6698, allocations: 1.611 MB / 1.578 GB, free: 15.18 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.721e-05/0.6699, allocations: 0 / 1.578 GB, free: 15.18 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002583/0.6701, allocations: 52 kB / 1.578 GB, free: 15.13 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.159e-05/0.6702, allocations: 32 kB / 1.578 GB, free: 15.1 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002784/0.6729, allocations: 1.5 MB / 1.58 GB, free: 13.59 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02513/0.6981, allocations: 22.86 MB / 1.602 GB, free: 6.652 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0026/0.7007, allocations: 1.054 MB / 1.603 GB, free: 5.59 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007845/0.7015, allocations: 413.3 kB / 1.603 GB, free: 5.188 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 9.822e-05/0.7016, allocations: 28.97 kB / 1.603 GB, free: 5.156 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001263/0.7028, allocations: 0.7532 MB / 1.604 GB, free: 4.359 MB / 1.295 GB Notification: Performance of pre-optimization done (n=100): time 3.036e-06/0.7028, allocations: 7.938 kB / 1.604 GB, free: 4.352 MB / 1.295 GB Notification: Performance of matching and sorting (n=100): time 0.00536/0.7082, allocations: 1.671 MB / 1.606 GB, free: 2.672 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.7083, allocations: 196.9 kB / 1.606 GB, free: 2.438 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7292/1.438, allocations: 99.44 MB / 1.703 GB, free: 206.6 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003237/1.438, allocations: 49.7 kB / 1.703 GB, free: 206.5 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009878/1.439, allocations: 1.083 MB / 1.704 GB, free: 205.7 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002677/1.439, allocations: 339 kB / 1.704 GB, free: 205.5 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003125/1.439, allocations: 244.8 kB / 1.705 GB, free: 205.3 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 6.719e-05/1.439, allocations: 350.3 kB / 1.705 GB, free: 205 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007242/1.44, allocations: 488.7 kB / 1.705 GB, free: 204.6 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008048/1.441, allocations: 0.7563 MB / 1.706 GB, free: 203.8 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/1.442, allocations: 1.002 MB / 1.707 GB, free: 202.8 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/1.442, allocations: 0 / 1.707 GB, free: 202.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003398/1.446, allocations: 1.521 MB / 1.709 GB, free: 201.2 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/1.446, allocations: 8 kB / 1.709 GB, free: 201.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/1.446, allocations: 0 / 1.709 GB, free: 201.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006409/1.447, allocations: 84.16 kB / 1.709 GB, free: 201.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009611/1.447, allocations: 238.3 kB / 1.709 GB, free: 200.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/1.449, allocations: 1.532 MB / 1.71 GB, free: 199.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001968/1.451, allocations: 276.2 kB / 1.711 GB, free: 199 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/1.451, allocations: 51.12 kB / 1.711 GB, free: 199 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.001102/1.453, allocations: 0.8147 MB / 1.712 GB, free: 198.2 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008123/1.453, allocations: 230.5 kB / 1.712 GB, free: 198 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003027/1.456, allocations: 1.624 MB / 1.713 GB, free: 196.4 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/1.456, allocations: 12 kB / 1.713 GB, free: 196.3 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/1.456, allocations: 0 / 1.713 GB, free: 196.3 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/1.456, allocations: 7.969 kB / 1.713 GB, free: 196.3 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/1.458, allocations: 1.563 MB / 1.715 GB, free: 194.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/1.458, allocations: 0 / 1.715 GB, free: 194.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007128/1.459, allocations: 188.2 kB / 1.715 GB, free: 194.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004424/1.46, allocations: 73.75 kB / 1.715 GB, free: 194.5 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.819e-05/1.46, allocations: 31.97 kB / 1.715 GB, free: 194.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001495/1.461, allocations: 1.545 MB / 1.717 GB, free: 192.8 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/1.461, allocations: 6.109 kB / 1.717 GB, free: 192.8 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002729/1.464, allocations: 1.376 MB / 1.718 GB, free: 191.4 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/1.465, allocations: 0.7476 MB / 1.719 GB, free: 190.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003785/1.466, allocations: 33.86 kB / 1.719 GB, free: 190.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/1.467, allocations: 190.4 kB / 1.719 GB, free: 190.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/1.467, allocations: 88.83 kB / 1.719 GB, free: 190.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-05/1.467, allocations: 51.91 kB / 1.719 GB, free: 190.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.04917/1.516, allocations: 79.41 MB / 1.797 GB, free: 110.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.81e-07/1.516, allocations: 0 / 1.797 GB, free: 110.9 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002867/1.519, allocations: 1.035 MB / 1.798 GB, free: 110 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.005795/1.525, allocations: 2.825 MB / 1.8 GB, free: 107.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002152/1.527, allocations: 1.195 MB / 1.802 GB, free: 106.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/1.527, allocations: 3.656 kB / 1.802 GB, free: 106.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0009601/1.528, allocations: 0.6257 MB / 1.802 GB, free: 105.7 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/1.53, allocations: 430 kB / 1.803 GB, free: 105.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3832/1.913, allocations: 407.2 MB / 2.2 GB, free: 1.961 MB / 1.592 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/1.915, allocations: 1.152 MB / 2.201 GB, free: 0.7734 MB / 1.592 GB Notification: Performance of simCode: alias equations: time 0.002324/1.917, allocations: 0.7765 MB / 2.202 GB, free: 15.99 MB / 1.607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002011/1.919, allocations: 1.112 MB / 2.203 GB, free: 14.88 MB / 1.607 GB Notification: Performance of SimCode: time 1.633e-06/1.919, allocations: 0 / 2.203 GB, free: 14.88 MB / 1.607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.769/2.688, allocations: 116.3 MB / 2.317 GB, free: 0.5102 GB / 1.607 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.6/21.28, allocations: 15.17 kB / 2.317 GB, free: 0.5102 GB / 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.945794546976686]