Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00183/0.00183, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002249/0.002249, allocations: 214.7 kB / 22.25 MB, free: 5.129 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.82/2.82, allocations: 476.7 MB / 0.7707 GB, free: 4.246 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",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.002091/0.002091, allocations: 68.41 kB / 1.117 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3296, allocations: 169.9 MB / 1.283 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.01031/0.3399, allocations: 7.083 MB / 1.29 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1962/0.5361, allocations: 158.9 MB / 1.445 GB, free: 13.12 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.5374, allocations: 35.75 kB / 1.445 GB, free: 13.09 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.005844/0.5433, allocations: 2.015 MB / 1.447 GB, free: 11.07 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003342/0.5466, allocations: 0.9088 MB / 1.448 GB, free: 10.16 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002995/0.5496, allocations: 1.04 MB / 1.449 GB, free: 9.121 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004249/0.5539, allocations: 2.691 MB / 1.452 GB, free: 6.418 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001341/0.5552, allocations: 0.6456 MB / 1.453 GB, free: 5.73 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/0.557, allocations: 0.9384 MB / 1.454 GB, free: 4.789 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001788/0.5588, allocations: 0.9766 MB / 1.454 GB, free: 3.809 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003733/0.5592, allocations: 184 kB / 1.455 GB, free: 3.629 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005467/0.5646, allocations: 2.769 MB / 1.457 GB, free: 0.8555 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001397/0.566, allocations: 1.243 MB / 1.459 GB, free: 15.61 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001923/0.568, allocations: 1.43 MB / 1.46 GB, free: 14.17 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.008452/0.5764, allocations: 5.572 MB / 1.465 GB, free: 8.582 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.5764, allocations: 0 / 1.465 GB, free: 8.582 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.205e-06/0.5764, allocations: 4 kB / 1.465 GB, free: 8.578 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.678e-05/0.5765, allocations: 0 / 1.465 GB, free: 8.578 MB / 1.17 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.008727/0.5852, allocations: 4.02 MB / 1.469 GB, free: 4.504 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.5853, allocations: 12.03 kB / 1.469 GB, free: 4.492 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002494/0.5855, allocations: 190.3 kB / 1.47 GB, free: 4.297 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002547/0.5881, allocations: 442.8 kB / 1.47 GB, free: 3.859 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09488/0.6829, allocations: 87.64 MB / 1.556 GB, free: 12.12 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.6831, allocations: 106.5 kB / 1.556 GB, free: 12.02 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002979/0.6834, allocations: 132 kB / 1.556 GB, free: 11.89 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002796/0.6862, allocations: 1.357 MB / 1.557 GB, free: 10.47 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.6862, allocations: 0 / 1.557 GB, free: 10.47 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.6863, allocations: 52 kB / 1.557 GB, free: 10.42 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.904e-05/0.6864, allocations: 32 kB / 1.557 GB, free: 10.39 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002801/0.6892, allocations: 1.496 MB / 1.559 GB, free: 8.887 MB / 1.264 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6563/1.346, allocations: 23.83 MB / 1.582 GB, free: 279.4 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002317/1.348, allocations: 1.061 MB / 1.583 GB, free: 279.1 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007065/1.349, allocations: 408.1 kB / 1.583 GB, free: 278.9 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 9.424e-05/1.349, allocations: 36.44 kB / 1.583 GB, free: 278.9 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001082/1.35, allocations: 0.6546 MB / 1.584 GB, free: 278.7 MB / 1.264 GB Notification: Performance of pre-optimization done (n=100): time 2.796e-06/1.35, allocations: 1.344 kB / 1.584 GB, free: 278.7 MB / 1.264 GB Notification: Performance of matching and sorting (n=100): time 0.004703/1.354, allocations: 1.676 MB / 1.586 GB, free: 278.2 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/1.354, allocations: 196.6 kB / 1.586 GB, free: 278 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08331/1.438, allocations: 99.44 MB / 1.683 GB, free: 187.9 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0002321/1.438, allocations: 49.7 kB / 1.683 GB, free: 187.9 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008543/1.439, allocations: 1.082 MB / 1.684 GB, free: 186.9 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002427/1.439, allocations: 337.2 kB / 1.684 GB, free: 186.6 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002954/1.439, allocations: 238.8 kB / 1.685 GB, free: 186.4 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 6.036e-05/1.439, allocations: 351.8 kB / 1.685 GB, free: 186.1 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007279/1.44, allocations: 490.4 kB / 1.685 GB, free: 185.6 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007842/1.441, allocations: 0.634 MB / 1.686 GB, free: 184.9 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/1.442, allocations: 1 MB / 1.687 GB, free: 183.9 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.442, allocations: 0 / 1.687 GB, free: 183.9 MB / 1.264 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003117/1.445, allocations: 1.52 MB / 1.688 GB, free: 182.4 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/1.445, allocations: 10.84 kB / 1.688 GB, free: 182.4 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.445, allocations: 0 / 1.688 GB, free: 182.4 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005946/1.446, allocations: 86.36 kB / 1.689 GB, free: 182.3 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008744/1.447, allocations: 238.8 kB / 1.689 GB, free: 182.1 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/1.449, allocations: 1.531 MB / 1.69 GB, free: 180.4 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/1.45, allocations: 277.9 kB / 1.691 GB, free: 180.2 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.998e-05/1.45, allocations: 58.78 kB / 1.691 GB, free: 180.2 MB / 1.264 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.0009631/1.451, allocations: 0.8038 MB / 1.691 GB, free: 179.3 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005564/1.452, allocations: 234.4 kB / 1.692 GB, free: 179.1 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002791/1.455, allocations: 1.624 MB / 1.693 GB, free: 177.5 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/1.455, allocations: 12 kB / 1.693 GB, free: 177.5 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/1.455, allocations: 3.938 kB / 1.693 GB, free: 177.5 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/1.455, allocations: 7.969 kB / 1.693 GB, free: 177.5 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/1.457, allocations: 1.945 MB / 1.695 GB, free: 175.5 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/1.457, allocations: 3.938 kB / 1.695 GB, free: 175.5 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007096/1.457, allocations: 175.8 kB / 1.695 GB, free: 175.4 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004363/1.458, allocations: 76.59 kB / 1.695 GB, free: 175.3 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.132e-05/1.458, allocations: 31.97 kB / 1.695 GB, free: 175.3 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/1.459, allocations: 1.568 MB / 1.697 GB, free: 173.6 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.459, allocations: 0 / 1.697 GB, free: 173.6 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002678/1.462, allocations: 1.369 MB / 1.698 GB, free: 172.2 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/1.463, allocations: 0.7047 MB / 1.699 GB, free: 171.5 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003678/1.464, allocations: 23.98 kB / 1.699 GB, free: 171.5 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/1.465, allocations: 183.7 kB / 1.699 GB, free: 171.3 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/1.465, allocations: 88.81 kB / 1.699 GB, free: 171.2 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.445e-05/1.465, allocations: 47.98 kB / 1.699 GB, free: 171.2 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.04945/1.514, allocations: 79.41 MB / 1.777 GB, free: 91.74 MB / 1.264 GB Notification: Performance of sort global known variables: time 3.11e-07/1.514, allocations: 4 kB / 1.777 GB, free: 91.73 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002956/1.517, allocations: 1.043 MB / 1.778 GB, free: 90.81 MB / 1.264 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.005515/1.523, allocations: 2.79 MB / 1.781 GB, free: 88.36 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002025/1.525, allocations: 1.195 MB / 1.782 GB, free: 87.15 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.525, allocations: 320 / 1.782 GB, free: 87.15 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.000936/1.526, allocations: 0.629 MB / 1.782 GB, free: 86.51 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/1.528, allocations: 427.6 kB / 1.783 GB, free: 86.11 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.056/2.584, allocations: 407.1 MB / 2.18 GB, free: 0.5574 GB / 1.561 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002209/2.586, allocations: 1.724 MB / 2.182 GB, free: 0.5566 GB / 1.561 GB Notification: Performance of simCode: alias equations: time 0.003082/2.589, allocations: 0.7805 MB / 2.183 GB, free: 0.5565 GB / 1.561 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002899/2.592, allocations: 1.114 MB / 2.184 GB, free: 0.5558 GB / 1.561 GB Notification: Performance of SimCode: time 2.284e-06/2.592, allocations: 0 / 2.184 GB, free: 0.5558 GB / 1.561 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1716/2.763, allocations: 114.2 MB / 2.295 GB, free: 470.9 MB / 1.561 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.37/21.13, allocations: 10.86 kB / 2.295 GB, free: 470.8 MB / 1.561 GB " [Timeout remaining time 279] (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.09703480801545]