Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007624/0.007624, allocations: 102.1 kB / 15.73 MB, free: 6.039 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.001715/0.001715, allocations: 199.5 kB / 16.67 MB, free: 5.977 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.698/2.698, allocations: 437 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 63.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3084, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.00907/0.3176, allocations: 6.977 MB / 1.173 GB, free: 264 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.911/1.229, allocations: 155.4 MB / 1.325 GB, free: 6.523 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/1.23, allocations: 29.34 kB / 1.325 GB, free: 6.512 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005055/1.235, allocations: 1.827 MB / 1.327 GB, free: 6.031 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002644/1.238, allocations: 0.8956 MB / 1.327 GB, free: 5.641 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00253/1.24, allocations: 0.9982 MB / 1.328 GB, free: 5.309 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003037/1.243, allocations: 2.591 MB / 1.331 GB, free: 4.047 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/1.245, allocations: 0.9423 MB / 1.332 GB, free: 3.539 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001367/1.246, allocations: 0.9079 MB / 1.333 GB, free: 3.117 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/1.247, allocations: 0.934 MB / 1.334 GB, free: 2.652 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002675/1.247, allocations: 184.5 kB / 1.334 GB, free: 2.652 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004251/1.252, allocations: 2.263 MB / 1.336 GB, free: 2.031 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001071/1.253, allocations: 1.212 MB / 1.337 GB, free: 1.59 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00161/1.254, allocations: 1.423 MB / 1.339 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007667/1.262, allocations: 5.442 MB / 1.344 GB, free: 14.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.262, allocations: 0 / 1.344 GB, free: 14.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.713e-06/1.262, allocations: 0.8125 kB / 1.344 GB, free: 14.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.523e-05/1.262, allocations: 0 / 1.344 GB, free: 14.88 MB / 1.029 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.009364/1.272, allocations: 3.965 MB / 1.348 GB, free: 12.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.272, allocations: 9.094 kB / 1.348 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002496/1.272, allocations: 192.9 kB / 1.348 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001578/1.273, allocations: 353.7 kB / 1.348 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08325/1.357, allocations: 87.65 MB / 1.434 GB, free: 2.648 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/1.357, allocations: 102.5 kB / 1.434 GB, free: 2.547 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000488/1.357, allocations: 132 kB / 1.434 GB, free: 2.418 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003523/1.361, allocations: 1.357 MB / 1.435 GB, free: 1 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.549e-05/1.361, allocations: 3.938 kB / 1.435 GB, free: 0.9961 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001931/1.361, allocations: 56 kB / 1.435 GB, free: 0.9414 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-05/1.361, allocations: 32 kB / 1.436 GB, free: 0.9102 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002638/1.364, allocations: 1.496 MB / 1.437 GB, free: 15.41 MB / 1.107 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.02708/1.391, allocations: 23.87 MB / 1.46 GB, free: 7.34 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002748/1.394, allocations: 1.118 MB / 1.461 GB, free: 6.223 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008351/1.395, allocations: 443.7 kB / 1.462 GB, free: 5.785 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/1.395, allocations: 37.02 kB / 1.462 GB, free: 5.754 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00124/1.396, allocations: 0.6606 MB / 1.462 GB, free: 5.074 MB / 1.123 GB Notification: Performance of pre-optimization done (n=100): time 3.857e-06/1.396, allocations: 4 kB / 1.462 GB, free: 5.07 MB / 1.123 GB Notification: Performance of matching and sorting (n=100): time 0.005639/1.402, allocations: 1.737 MB / 1.464 GB, free: 3.305 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/1.402, allocations: 192.9 kB / 1.464 GB, free: 3.07 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1089/1.511, allocations: 99.41 MB / 1.561 GB, free: 15.62 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0004064/1.511, allocations: 53.7 kB / 1.561 GB, free: 15.56 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.00136/1.513, allocations: 1.057 MB / 1.563 GB, free: 14.49 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004626/1.513, allocations: 331.2 kB / 1.563 GB, free: 14.17 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004595/1.514, allocations: 246.7 kB / 1.563 GB, free: 13.92 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001681/1.514, allocations: 349.9 kB / 1.563 GB, free: 13.57 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/1.515, allocations: 490.4 kB / 1.564 GB, free: 13.09 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009999/1.516, allocations: 0.6293 MB / 1.564 GB, free: 12.43 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001741/1.518, allocations: 1.002 MB / 1.565 GB, free: 11.41 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/1.518, allocations: 0 / 1.565 GB, free: 11.41 MB / 1.232 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004601/1.522, allocations: 1.503 MB / 1.567 GB, free: 9.898 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.036e-05/1.522, allocations: 8 kB / 1.567 GB, free: 9.891 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/1.522, allocations: 0 / 1.567 GB, free: 9.891 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006709/1.523, allocations: 88.83 kB / 1.567 GB, free: 9.801 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009974/1.524, allocations: 239.6 kB / 1.567 GB, free: 9.566 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/1.526, allocations: 1.635 MB / 1.569 GB, free: 7.793 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002545/1.529, allocations: 274.4 kB / 1.569 GB, free: 7.523 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/1.529, allocations: 47.98 kB / 1.569 GB, free: 7.477 MB / 1.232 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.001738/1.531, allocations: 0.8116 MB / 1.57 GB, free: 6.652 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001477/1.532, allocations: 217.2 kB / 1.57 GB, free: 6.438 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00373/1.536, allocations: 1.617 MB / 1.572 GB, free: 4.809 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/1.536, allocations: 19.94 kB / 1.572 GB, free: 4.789 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.536, allocations: 0 / 1.572 GB, free: 4.789 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/1.536, allocations: 7.922 kB / 1.572 GB, free: 4.781 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003674/1.54, allocations: 1.961 MB / 1.574 GB, free: 2.77 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/1.54, allocations: 3.984 kB / 1.574 GB, free: 2.766 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008004/1.54, allocations: 179.8 kB / 1.574 GB, free: 2.59 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005086/1.541, allocations: 76.78 kB / 1.574 GB, free: 2.512 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-05/1.541, allocations: 27.98 kB / 1.574 GB, free: 2.484 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/1.543, allocations: 1.666 MB / 1.576 GB, free: 0.6758 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/1.543, allocations: 3.938 kB / 1.576 GB, free: 0.6719 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00419/1.547, allocations: 1.357 MB / 1.577 GB, free: 15.29 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002502/1.55, allocations: 0.7668 MB / 1.578 GB, free: 14.5 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000818/1.551, allocations: 27.98 kB / 1.578 GB, free: 14.47 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/1.552, allocations: 185.7 kB / 1.578 GB, free: 14.29 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002179/1.552, allocations: 84.88 kB / 1.578 GB, free: 14.21 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.695e-05/1.552, allocations: 47.97 kB / 1.578 GB, free: 14.16 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.07773/1.63, allocations: 79.4 MB / 1.656 GB, free: 14.73 MB / 1.326 GB Notification: Performance of sort global known variables: time 1.613e-06/1.63, allocations: 4 kB / 1.656 GB, free: 14.73 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.005581/1.636, allocations: 1.014 MB / 1.657 GB, free: 13.71 MB / 1.326 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.008421/1.644, allocations: 2.77 MB / 1.659 GB, free: 11.1 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.002754/1.647, allocations: 1.247 MB / 1.66 GB, free: 9.84 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.647, allocations: 3.938 kB / 1.66 GB, free: 9.836 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.001178/1.648, allocations: 0.6605 MB / 1.661 GB, free: 9.16 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003213/1.651, allocations: 426.1 kB / 1.662 GB, free: 8.758 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.032/2.684, allocations: 407 MB / 2.059 GB, free: 340.8 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/2.685, allocations: 1.72 MB / 2.061 GB, free: 339.1 MB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.002381/2.687, allocations: 0.7716 MB / 2.061 GB, free: 338.5 MB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002006/2.689, allocations: 1.108 MB / 2.062 GB, free: 337.3 MB / 1.467 GB Notification: Performance of SimCode: time 1.092e-06/2.689, allocations: 3.75 kB / 2.062 GB, free: 337.3 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2062/2.895, allocations: 108.4 MB / 2.168 GB, free: 230.1 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.37/19.27, allocations: 6.344 kB / 2.168 GB, free: 230.1 MB / 1.467 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches