Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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.AbsorbedRadiation,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",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.007521/0.007521, allocations: 102.6 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.001668/0.001668, allocations: 198 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.348 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.674/2.674, allocations: 437.1 MB / 0.7105 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 59.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3535, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.009458/0.363, allocations: 7.018 MB / 1.173 GB, free: 240 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 1.041/1.404, allocations: 155.6 MB / 1.325 GB, free: 6.492 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001821/1.406, allocations: 25.16 kB / 1.325 GB, free: 6.484 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.006598/1.412, allocations: 1.832 MB / 1.327 GB, free: 6 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004072/1.417, allocations: 0.889 MB / 1.328 GB, free: 5.617 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003604/1.42, allocations: 1.044 MB / 1.329 GB, free: 5.18 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006231/1.426, allocations: 3.667 MB / 1.332 GB, free: 3.5 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001881/1.428, allocations: 0.9148 MB / 1.333 GB, free: 3.008 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002868/1.431, allocations: 1.198 MB / 1.334 GB, free: 2.512 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002518/1.434, allocations: 1.069 MB / 1.335 GB, free: 2.02 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005028/1.434, allocations: 199 kB / 1.336 GB, free: 2.02 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006307/1.441, allocations: 2.243 MB / 1.338 GB, free: 1.41 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001889/1.442, allocations: 1.426 MB / 1.339 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002981/1.445, allocations: 1.509 MB / 1.341 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01285/1.458, allocations: 5.685 MB / 1.346 GB, free: 14.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/1.458, allocations: 1.094 kB / 1.346 GB, free: 14.11 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.003e-06/1.458, allocations: 0 / 1.346 GB, free: 14.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001583/1.459, allocations: 0 / 1.346 GB, free: 14.11 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.0144/1.473, allocations: 4.202 MB / 1.35 GB, free: 11.54 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/1.473, allocations: 9.344 kB / 1.35 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003186/1.473, allocations: 187.9 kB / 1.35 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001938/1.475, allocations: 350 kB / 1.351 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08778/1.563, allocations: 87.73 MB / 1.436 GB, free: 24 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001953/1.563, allocations: 114.5 kB / 1.437 GB, free: 15.91 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007517/1.564, allocations: 152 kB / 1.437 GB, free: 15.76 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004104/1.568, allocations: 1.538 MB / 1.438 GB, free: 14.16 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.764e-05/1.568, allocations: 0 / 1.438 GB, free: 14.16 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002311/1.569, allocations: 59.94 kB / 1.438 GB, free: 14.1 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.451e-05/1.569, allocations: 28 kB / 1.438 GB, free: 14.07 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002981/1.572, allocations: 1.605 MB / 1.44 GB, free: 12.46 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03361/1.605, allocations: 24.02 MB / 1.463 GB, free: 4.266 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003756/1.609, allocations: 1.446 MB / 1.465 GB, free: 2.82 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/1.611, allocations: 0.8914 MB / 1.466 GB, free: 1.93 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001531/1.611, allocations: 41.08 kB / 1.466 GB, free: 1.887 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001917/1.613, allocations: 0.946 MB / 1.467 GB, free: 0.9297 MB / 1.123 GB Notification: Performance of pre-optimization done (n=104): time 4.138e-06/1.613, allocations: 0 / 1.467 GB, free: 0.9297 MB / 1.123 GB Notification: Performance of matching and sorting (n=104): time 0.006904/1.62, allocations: 2.753 MB / 1.469 GB, free: 14.16 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002644/1.62, allocations: 328.2 kB / 1.47 GB, free: 13.79 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1147/1.735, allocations: 99.68 MB / 1.567 GB, free: 10.07 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0005971/1.736, allocations: 61.69 kB / 1.567 GB, free: 10.01 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.002131/1.738, allocations: 1.101 MB / 1.568 GB, free: 8.898 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006644/1.738, allocations: 331.2 kB / 1.568 GB, free: 8.57 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00151/1.74, allocations: 363.4 kB / 1.569 GB, free: 8.211 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001126/1.74, allocations: 302.1 kB / 1.569 GB, free: 7.914 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002225/1.742, allocations: 1.191 MB / 1.57 GB, free: 6.723 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002541/1.745, allocations: 1.42 MB / 1.572 GB, free: 5.242 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004113/1.749, allocations: 2.598 MB / 1.574 GB, free: 2.594 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.908e-06/1.749, allocations: 3.938 kB / 1.574 GB, free: 2.59 MB / 1.232 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.007216/1.756, allocations: 3.203 MB / 1.577 GB, free: 15.37 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001825/1.756, allocations: 153.6 kB / 1.577 GB, free: 15.21 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/1.756, allocations: 4.406 kB / 1.577 GB, free: 15.21 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.088e-05/1.756, allocations: 12 kB / 1.577 GB, free: 15.2 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/1.758, allocations: 316.4 kB / 1.578 GB, free: 14.89 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.348e-05/1.758, allocations: 11.94 kB / 1.578 GB, free: 14.88 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003025/1.761, allocations: 331.5 kB / 1.578 GB, free: 14.55 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002251/1.761, allocations: 63.98 kB / 1.578 GB, free: 14.49 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (182): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002395/1.763, allocations: 1.043 MB / 1.579 GB, free: 13.43 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002065/1.766, allocations: 236.9 kB / 1.579 GB, free: 13.19 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005241/1.771, allocations: 2.517 MB / 1.582 GB, free: 10.66 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/1.771, allocations: 8 kB / 1.582 GB, free: 10.65 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/1.771, allocations: 3.984 kB / 1.582 GB, free: 10.64 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/1.771, allocations: 11.97 kB / 1.582 GB, free: 10.63 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006346/1.777, allocations: 2.017 MB / 1.584 GB, free: 8.566 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-05/1.777, allocations: 0 / 1.584 GB, free: 8.566 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000898/1.778, allocations: 155.8 kB / 1.584 GB, free: 8.414 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.794e-05/1.778, allocations: 4 kB / 1.584 GB, free: 8.41 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00028/1.779, allocations: 39.97 kB / 1.584 GB, free: 8.371 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.519e-05/1.779, allocations: 4 kB / 1.584 GB, free: 8.367 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.779, allocations: 0 / 1.584 GB, free: 8.367 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007327/1.786, allocations: 2.339 MB / 1.586 GB, free: 5.996 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003097/1.789, allocations: 0.8019 MB / 1.587 GB, free: 5.172 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001531/1.791, allocations: 28 kB / 1.587 GB, free: 5.145 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002614/1.793, allocations: 179.9 kB / 1.587 GB, free: 4.969 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002605/1.794, allocations: 84.89 kB / 1.587 GB, free: 4.887 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/1.794, allocations: 51.97 kB / 1.587 GB, free: 4.836 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.07765/1.871, allocations: 79.57 MB / 1.665 GB, free: 5.25 MB / 1.326 GB Notification: Performance of sort global known variables: time 6.21e-07/1.871, allocations: 0 / 1.665 GB, free: 5.25 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.005841/1.877, allocations: 1.081 MB / 1.666 GB, free: 4.168 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 (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01032/1.888, allocations: 3.732 MB / 1.67 GB, free: 0.582 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.005298/1.893, allocations: 3.548 MB / 1.673 GB, free: 13.02 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/1.893, allocations: 4 kB / 1.673 GB, free: 13.02 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.001853/1.895, allocations: 1.524 MB / 1.675 GB, free: 11.48 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004081/1.899, allocations: 411.9 kB / 1.675 GB, free: 11.1 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.14/3.039, allocations: 412.7 MB / 2.078 GB, free: 321.7 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/3.04, allocations: 1.78 MB / 2.08 GB, free: 319.9 MB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.002303/3.043, allocations: 0.7781 MB / 2.081 GB, free: 319.3 MB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001693/3.044, allocations: 1.144 MB / 2.082 GB, free: 318.1 MB / 1.467 GB Notification: Performance of SimCode: time 7.61e-07/3.044, allocations: 0 / 2.082 GB, free: 318.1 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2172/3.261, allocations: 112.2 MB / 2.191 GB, free: 207.1 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/17.2, allocations: 7.219 kB / 2.191 GB, free: 207.1 MB / 1.467 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches