Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.AbsorbedRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_9_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.007518/0.007518, allocations: 100.2 kB / 15.73 MB, free: 6.469 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.002174/0.002175, allocations: 193.5 kB / 16.67 MB, free: 6.379 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.699/2.699, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 67.7 kB / 0.9504 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3294, allocations: 140.4 MB / 1.087 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.008695/0.3381, allocations: 5.765 MB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1886/0.5268, allocations: 155.5 MB / 1.245 GB, free: 112 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001698/0.5285, allocations: 23.88 kB / 1.245 GB, free: 88 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005791/0.5344, allocations: 1.779 MB / 1.247 GB, free: 14.3 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003547/0.538, allocations: 0.7772 MB / 1.247 GB, free: 13.52 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003457/0.5415, allocations: 1.022 MB / 1.248 GB, free: 12.5 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00623/0.5477, allocations: 3.459 MB / 1.252 GB, free: 9.039 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002274/0.55, allocations: 0.9634 MB / 1.253 GB, free: 8.035 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002946/0.553, allocations: 1.165 MB / 1.254 GB, free: 6.867 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002578/0.5557, allocations: 1.039 MB / 1.255 GB, free: 5.824 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000895/0.5566, allocations: 204 kB / 1.255 GB, free: 5.625 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005221/0.5619, allocations: 2.243 MB / 1.257 GB, free: 3.379 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001988/0.5639, allocations: 1.415 MB / 1.259 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003185/0.5671, allocations: 1.469 MB / 1.26 GB, free: 496 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.9128/1.48, allocations: 5.615 MB / 1.266 GB, free: 9.355 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/1.48, allocations: 1.375 kB / 1.266 GB, free: 9.355 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.594e-06/1.48, allocations: 0 / 1.266 GB, free: 9.355 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002166/1.48, allocations: 0 / 1.266 GB, free: 9.355 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.02065/1.501, allocations: 4.178 MB / 1.27 GB, free: 7.684 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.338e-05/1.501, allocations: 9.938 kB / 1.27 GB, free: 7.684 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006374/1.502, allocations: 187.5 kB / 1.27 GB, free: 7.641 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003073/1.505, allocations: 349.7 kB / 1.27 GB, free: 7.484 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1322/1.637, allocations: 91.64 MB / 1.36 GB, free: 404 kB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/1.637, allocations: 114.4 kB / 1.36 GB, free: 288 kB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006464/1.638, allocations: 148.7 kB / 1.36 GB, free: 140 kB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003874/1.642, allocations: 1.543 MB / 1.361 GB, free: 14.55 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/1.642, allocations: 0 / 1.361 GB, free: 14.55 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002178/1.642, allocations: 54.62 kB / 1.362 GB, free: 14.5 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-05/1.642, allocations: 28 kB / 1.362 GB, free: 14.47 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002843/1.645, allocations: 1.61 MB / 1.363 GB, free: 12.86 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03066/1.676, allocations: 23.63 MB / 1.386 GB, free: 5.27 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00369/1.679, allocations: 1.434 MB / 1.388 GB, free: 3.848 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/1.681, allocations: 0.895 MB / 1.388 GB, free: 2.945 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/1.681, allocations: 38.02 kB / 1.389 GB, free: 2.922 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001827/1.683, allocations: 0.9441 MB / 1.389 GB, free: 1.969 MB / 1.061 GB Notification: Performance of pre-optimization done (n=104): time 4.248e-06/1.683, allocations: 0 / 1.389 GB, free: 1.969 MB / 1.061 GB Notification: Performance of matching and sorting (n=104): time 0.007104/1.69, allocations: 2.758 MB / 1.392 GB, free: 15.21 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002663/1.69, allocations: 331.4 kB / 1.392 GB, free: 14.84 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.121/1.811, allocations: 99.68 MB / 1.49 GB, free: 11.13 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0007481/1.812, allocations: 62.7 kB / 1.49 GB, free: 11.06 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.002354/1.815, allocations: 1.098 MB / 1.491 GB, free: 9.961 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006745/1.815, allocations: 337.4 kB / 1.491 GB, free: 9.637 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00137/1.817, allocations: 359.5 kB / 1.492 GB, free: 9.277 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001152/1.817, allocations: 307.1 kB / 1.492 GB, free: 8.977 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002173/1.819, allocations: 1.192 MB / 1.493 GB, free: 7.785 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002283/1.821, allocations: 1.421 MB / 1.494 GB, free: 6.316 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004046/1.825, allocations: 2.588 MB / 1.497 GB, free: 3.695 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/1.825, allocations: 0 / 1.497 GB, free: 3.695 MB / 1.17 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.007741/1.833, allocations: 3.211 MB / 1.5 GB, free: 500 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002119/1.833, allocations: 155.2 kB / 1.5 GB, free: 344 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/1.833, allocations: 4 kB / 1.5 GB, free: 340 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.881e-05/1.833, allocations: 12.91 kB / 1.5 GB, free: 328 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/1.835, allocations: 305.2 kB / 1.501 GB, free: 40 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.654e-05/1.835, allocations: 18.27 kB / 1.501 GB, free: 24 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003165/1.838, allocations: 326.3 kB / 1.501 GB, free: 15.7 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003647/1.839, allocations: 67.97 kB / 1.501 GB, free: 15.64 MB / 1.186 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.003038/1.842, allocations: 1.043 MB / 1.502 GB, free: 14.6 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002689/1.844, allocations: 236.9 kB / 1.502 GB, free: 14.37 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006003/1.85, allocations: 2.514 MB / 1.505 GB, free: 11.85 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/1.85, allocations: 12 kB / 1.505 GB, free: 11.84 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/1.85, allocations: 0.9062 kB / 1.505 GB, free: 11.84 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.01e-05/1.85, allocations: 7.969 kB / 1.505 GB, free: 11.83 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006544/1.857, allocations: 2.015 MB / 1.507 GB, free: 9.789 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/1.857, allocations: 0 / 1.507 GB, free: 9.789 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008301/1.858, allocations: 163.3 kB / 1.507 GB, free: 9.641 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.748e-05/1.858, allocations: 7.297 kB / 1.507 GB, free: 9.637 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002173/1.858, allocations: 31.97 kB / 1.507 GB, free: 9.605 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.617e-06/1.858, allocations: 8.594 kB / 1.507 GB, free: 9.602 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.858, allocations: 0 / 1.507 GB, free: 9.602 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005749/1.864, allocations: 2.343 MB / 1.509 GB, free: 7.246 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002901/1.867, allocations: 0.8019 MB / 1.51 GB, free: 6.422 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001712/1.869, allocations: 23.98 kB / 1.51 GB, free: 6.398 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002567/1.871, allocations: 190.7 kB / 1.51 GB, free: 6.215 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003099/1.872, allocations: 80.89 kB / 1.51 GB, free: 6.137 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000178/1.872, allocations: 51.97 kB / 1.51 GB, free: 6.086 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.08093/1.953, allocations: 79.56 MB / 1.588 GB, free: 6.516 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.483e-06/1.953, allocations: 0.8125 kB / 1.588 GB, free: 6.516 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.006367/1.959, allocations: 1.063 MB / 1.589 GB, free: 5.457 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 (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.01137/1.971, allocations: 3.724 MB / 1.593 GB, free: 1.984 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.005847/1.976, allocations: 3.549 MB / 1.596 GB, free: 14.45 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/1.977, allocations: 0 / 1.596 GB, free: 14.45 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002119/1.979, allocations: 1.533 MB / 1.598 GB, free: 12.93 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004779/1.983, allocations: 403.3 kB / 1.598 GB, free: 12.56 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.137/3.121, allocations: 412.7 MB / 2.001 GB, free: 451.1 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00269/3.123, allocations: 1.791 MB / 2.003 GB, free: 449.3 MB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.00416/3.128, allocations: 0.7799 MB / 2.004 GB, free: 448.6 MB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003604/3.131, allocations: 1.132 MB / 2.005 GB, free: 447.5 MB / 1.467 GB Notification: Performance of SimCode: time 2.555e-06/3.131, allocations: 0 / 2.005 GB, free: 447.5 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2517/3.383, allocations: 112.5 MB / 2.115 GB, free: 336 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/16.75, allocations: 11.8 kB / 2.115 GB, free: 336 MB / 1.467 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches