Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_9_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.007135/0.007135, allocations: 101 kB / 15.73 MB, free: 6.043 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.001726/0.001726, allocations: 188.3 kB / 16.67 MB, free: 5.973 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.347/2.347, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 60.39 kB / 0.9504 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2728, allocations: 140.4 MB / 1.087 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.008043/0.2809, allocations: 5.725 MB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1608/0.4418, allocations: 155.2 MB / 1.245 GB, free: 356 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.4431, allocations: 23.88 kB / 1.245 GB, free: 332 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004789/0.448, allocations: 1.787 MB / 1.246 GB, free: 14.53 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002651/0.4506, allocations: 0.8016 MB / 1.247 GB, free: 13.73 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002521/0.4532, allocations: 0.9746 MB / 1.248 GB, free: 12.76 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002833/0.456, allocations: 2.381 MB / 1.251 GB, free: 10.37 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.4575, allocations: 0.9798 MB / 1.251 GB, free: 9.355 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.4589, allocations: 0.872 MB / 1.252 GB, free: 8.48 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/0.4604, allocations: 0.9063 MB / 1.253 GB, free: 7.57 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004338/0.4609, allocations: 184 kB / 1.253 GB, free: 7.391 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003975/0.4648, allocations: 2.266 MB / 1.256 GB, free: 5.121 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001141/0.466, allocations: 1.212 MB / 1.257 GB, free: 3.906 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001851/0.4679, allocations: 1.376 MB / 1.258 GB, free: 2.523 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.6521/1.12, allocations: 5.372 MB / 1.263 GB, free: 10.83 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.12, allocations: 0 / 1.263 GB, free: 10.83 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.864e-06/1.12, allocations: 0.75 kB / 1.263 GB, free: 10.83 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.401e-05/1.12, allocations: 3.5 kB / 1.263 GB, free: 10.83 MB / 1.014 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.01056/1.131, allocations: 3.942 MB / 1.267 GB, free: 9.23 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/1.131, allocations: 13.98 kB / 1.267 GB, free: 9.23 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002931/1.131, allocations: 189.2 kB / 1.267 GB, free: 9.188 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001906/1.133, allocations: 347.2 kB / 1.268 GB, free: 9.039 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1246/1.258, allocations: 91.64 MB / 1.357 GB, free: 3.066 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/1.258, allocations: 102.5 kB / 1.357 GB, free: 2.965 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004907/1.258, allocations: 132.9 kB / 1.357 GB, free: 2.836 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003038/1.261, allocations: 1.361 MB / 1.359 GB, free: 1.422 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/1.261, allocations: 0 / 1.359 GB, free: 1.422 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/1.261, allocations: 52.97 kB / 1.359 GB, free: 1.371 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.641e-05/1.262, allocations: 33.17 kB / 1.359 GB, free: 1.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002479/1.264, allocations: 1.496 MB / 1.36 GB, free: 15.84 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02394/1.288, allocations: 23.39 MB / 1.383 GB, free: 8.488 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002615/1.291, allocations: 1.115 MB / 1.384 GB, free: 7.391 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008058/1.291, allocations: 450.6 kB / 1.385 GB, free: 6.949 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/1.292, allocations: 39.91 kB / 1.385 GB, free: 6.922 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001129/1.293, allocations: 0.6501 MB / 1.385 GB, free: 6.258 MB / 1.061 GB Notification: Performance of pre-optimization done (n=100): time 2.875e-06/1.293, allocations: 1.203 kB / 1.385 GB, free: 6.258 MB / 1.061 GB Notification: Performance of matching and sorting (n=100): time 0.005114/1.298, allocations: 1.743 MB / 1.387 GB, free: 4.5 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.988e-05/1.298, allocations: 193.5 kB / 1.387 GB, free: 4.27 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1068/1.405, allocations: 99.42 MB / 1.484 GB, free: 0.8164 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0004607/1.405, allocations: 50.67 kB / 1.484 GB, free: 0.7617 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001416/1.407, allocations: 1.064 MB / 1.485 GB, free: 15.71 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004614/1.407, allocations: 322.2 kB / 1.486 GB, free: 15.4 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004066/1.408, allocations: 239.8 kB / 1.486 GB, free: 15.16 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001507/1.408, allocations: 353.9 kB / 1.486 GB, free: 14.81 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009647/1.409, allocations: 487.4 kB / 1.487 GB, free: 14.34 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/1.41, allocations: 0.6323 MB / 1.487 GB, free: 13.68 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/1.411, allocations: 1.002 MB / 1.488 GB, free: 12.67 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/1.411, allocations: 0 / 1.488 GB, free: 12.67 MB / 1.17 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00424/1.416, allocations: 1.506 MB / 1.49 GB, free: 11.16 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/1.416, allocations: 4.75 kB / 1.49 GB, free: 11.16 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/1.416, allocations: 4 kB / 1.49 GB, free: 11.15 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006005/1.416, allocations: 83.44 kB / 1.49 GB, free: 11.07 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000926/1.417, allocations: 237.6 kB / 1.49 GB, free: 10.86 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002134/1.419, allocations: 1.636 MB / 1.492 GB, free: 9.098 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002271/1.422, allocations: 276.6 kB / 1.492 GB, free: 8.828 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/1.422, allocations: 52.66 kB / 1.492 GB, free: 8.777 MB / 1.17 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.001671/1.424, allocations: 0.8046 MB / 1.493 GB, free: 7.98 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00105/1.425, allocations: 217.2 kB / 1.493 GB, free: 7.766 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003381/1.428, allocations: 1.63 MB / 1.495 GB, free: 6.148 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/1.428, allocations: 16.44 kB / 1.495 GB, free: 6.137 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/1.428, allocations: 0 / 1.495 GB, free: 6.137 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/1.428, allocations: 8.688 kB / 1.495 GB, free: 6.129 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0029/1.431, allocations: 1.958 MB / 1.497 GB, free: 4.152 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/1.431, allocations: 0.875 kB / 1.497 GB, free: 4.152 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007731/1.432, allocations: 186.4 kB / 1.497 GB, free: 3.98 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004552/1.432, allocations: 72.09 kB / 1.497 GB, free: 3.91 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.432e-05/1.432, allocations: 35.97 kB / 1.497 GB, free: 3.875 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/1.434, allocations: 1.648 MB / 1.498 GB, free: 2.098 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.434, allocations: 0 / 1.498 GB, free: 2.098 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003387/1.438, allocations: 1.361 MB / 1.5 GB, free: 0.7227 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001282/1.439, allocations: 0.7639 MB / 1.501 GB, free: 15.94 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003484/1.439, allocations: 27.88 kB / 1.501 GB, free: 15.91 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/1.44, allocations: 187.5 kB / 1.501 GB, free: 15.73 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/1.441, allocations: 89.34 kB / 1.501 GB, free: 15.64 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.11e-05/1.441, allocations: 47.98 kB / 1.501 GB, free: 15.6 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.07248/1.513, allocations: 79.4 MB / 1.578 GB, free: 184 kB / 1.248 GB Notification: Performance of sort global known variables: time 5.01e-07/1.513, allocations: 0 / 1.578 GB, free: 184 kB / 1.248 GB Notification: Performance of remove unused functions: time 0.005265/1.519, allocations: 0.9922 MB / 1.579 GB, free: 15.19 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.007921/1.527, allocations: 2.77 MB / 1.582 GB, free: 12.69 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003013/1.53, allocations: 1.247 MB / 1.583 GB, free: 11.45 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.415e-06/1.53, allocations: 0 / 1.583 GB, free: 11.45 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.00132/1.531, allocations: 0.6648 MB / 1.584 GB, free: 10.8 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004194/1.535, allocations: 403.8 kB / 1.584 GB, free: 10.43 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9339/2.469, allocations: 407.1 MB / 1.982 GB, free: 470.7 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001986/2.471, allocations: 1.72 MB / 1.984 GB, free: 469 MB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.002992/2.474, allocations: 0.7637 MB / 1.984 GB, free: 468.3 MB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002467/2.477, allocations: 1.101 MB / 1.985 GB, free: 467.2 MB / 1.467 GB Notification: Performance of SimCode: time 1.002e-06/2.477, allocations: 3.875 kB / 1.985 GB, free: 467.2 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2106/2.687, allocations: 107.7 MB / 2.091 GB, free: 360.7 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.43/19.12, allocations: 3.75 kB / 2.091 GB, free: 360.7 MB / 1.467 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches