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.005021/0.005021, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001217/0.001217, allocations: 193.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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.179/2.179, allocations: 390.3 MB / 0.6648 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 59.91 kB / 0.9504 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6851/0.6864, allocations: 140.4 MB / 1.087 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.006374/0.6928, allocations: 5.774 MB / 1.093 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1749/0.8678, allocations: 155.4 MB / 1.245 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.8691, allocations: 25.56 kB / 1.245 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00489/0.8741, allocations: 1.777 MB / 1.247 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002583/0.8767, allocations: 0.7889 MB / 1.247 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002706/0.8794, allocations: 1.022 MB / 1.248 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003311/0.8827, allocations: 3.459 MB / 1.252 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001296/0.884, allocations: 0.9556 MB / 1.253 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/0.8856, allocations: 1.165 MB / 1.254 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001469/0.8871, allocations: 1.035 MB / 1.255 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004103/0.8875, allocations: 200 kB / 1.255 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003458/0.891, allocations: 2.247 MB / 1.257 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001183/0.8922, allocations: 1.423 MB / 1.259 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001793/0.894, allocations: 1.465 MB / 1.26 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006136/0.9001, allocations: 5.622 MB / 1.266 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.9001, allocations: 0 / 1.266 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.196e-06/0.9001, allocations: 0 / 1.266 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.621e-05/0.9002, allocations: 3.938 kB / 1.266 GB, free: 7.273 MB / 0.9981 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.007724/0.908, allocations: 4.17 MB / 1.27 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.908, allocations: 8.031 kB / 1.27 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002117/0.9082, allocations: 194.2 kB / 1.27 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.9093, allocations: 349.1 kB / 1.27 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07688/0.9862, allocations: 87.72 MB / 1.356 GB, free: 10.67 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.9864, allocations: 114.4 kB / 1.356 GB, free: 10.56 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003296/0.9867, allocations: 156 kB / 1.356 GB, free: 10.41 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002699/0.9894, allocations: 1.534 MB / 1.358 GB, free: 8.812 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.9895, allocations: 0 / 1.358 GB, free: 8.812 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.9896, allocations: 55.98 kB / 1.358 GB, free: 8.758 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.89e-05/0.9896, allocations: 32 kB / 1.358 GB, free: 8.727 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002495/0.9921, allocations: 1.605 MB / 1.359 GB, free: 7.113 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02131/1.013, allocations: 23.64 MB / 1.382 GB, free: 15.39 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/1.016, allocations: 1.438 MB / 1.384 GB, free: 13.95 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/1.017, allocations: 0.8824 MB / 1.385 GB, free: 13.06 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.263e-05/1.017, allocations: 37.17 kB / 1.385 GB, free: 13.02 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001379/1.019, allocations: 0.9459 MB / 1.386 GB, free: 12.07 MB / 1.123 GB Notification: Performance of pre-optimization done (n=104): time 3.126e-06/1.019, allocations: 4 kB / 1.386 GB, free: 12.06 MB / 1.123 GB Notification: Performance of matching and sorting (n=104): time 0.004925/1.024, allocations: 2.755 MB / 1.388 GB, free: 9.297 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001994/1.024, allocations: 330.5 kB / 1.389 GB, free: 8.926 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09967/1.124, allocations: 99.69 MB / 1.486 GB, free: 5.199 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0003279/1.124, allocations: 61.7 kB / 1.486 GB, free: 5.133 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001284/1.125, allocations: 1.096 MB / 1.487 GB, free: 4.027 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004068/1.126, allocations: 335.2 kB / 1.487 GB, free: 3.695 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005059/1.126, allocations: 363.4 kB / 1.488 GB, free: 3.332 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 7.834e-05/1.126, allocations: 305.1 kB / 1.488 GB, free: 3.031 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001633/1.128, allocations: 1.195 MB / 1.489 GB, free: 1.832 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/1.13, allocations: 1.42 MB / 1.491 GB, free: 364 kB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003229/1.133, allocations: 2.586 MB / 1.493 GB, free: 13.71 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/1.133, allocations: 0 / 1.493 GB, free: 13.71 MB / 1.232 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004977/1.138, allocations: 3.211 MB / 1.496 GB, free: 10.48 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001442/1.138, allocations: 153.6 kB / 1.496 GB, free: 10.33 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/1.138, allocations: 4 kB / 1.496 GB, free: 10.32 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/1.138, allocations: 8.406 kB / 1.496 GB, free: 10.32 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/1.139, allocations: 315.5 kB / 1.497 GB, free: 10.01 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/1.139, allocations: 8 kB / 1.497 GB, free: 10 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/1.141, allocations: 325.8 kB / 1.497 GB, free: 9.68 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/1.141, allocations: 67.97 kB / 1.497 GB, free: 9.613 MB / 1.232 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.001468/1.142, allocations: 1.043 MB / 1.498 GB, free: 8.551 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007328/1.143, allocations: 236.9 kB / 1.498 GB, free: 8.316 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003892/1.147, allocations: 2.521 MB / 1.501 GB, free: 5.773 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/1.147, allocations: 8 kB / 1.501 GB, free: 5.766 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.147, allocations: 0 / 1.501 GB, free: 5.766 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/1.147, allocations: 7.984 kB / 1.501 GB, free: 5.758 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/1.149, allocations: 2.017 MB / 1.503 GB, free: 3.691 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/1.149, allocations: 4 kB / 1.503 GB, free: 3.688 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006846/1.15, allocations: 163.8 kB / 1.503 GB, free: 3.527 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/1.15, allocations: 4 kB / 1.503 GB, free: 3.523 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.123e-05/1.15, allocations: 35.97 kB / 1.503 GB, free: 3.488 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/1.15, allocations: 4 kB / 1.503 GB, free: 3.484 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.15, allocations: 0 / 1.503 GB, free: 3.484 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003542/1.154, allocations: 2.339 MB / 1.505 GB, free: 1.117 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/1.155, allocations: 0.798 MB / 1.506 GB, free: 304 kB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000339/1.155, allocations: 31.84 kB / 1.506 GB, free: 272 kB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/1.157, allocations: 186.7 kB / 1.506 GB, free: 88 kB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/1.157, allocations: 84.88 kB / 1.506 GB, free: 4 kB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/1.157, allocations: 55.97 kB / 1.506 GB, free: 15.95 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.06644/1.224, allocations: 79.56 MB / 1.584 GB, free: 376 kB / 1.311 GB Notification: Performance of sort global known variables: time 6.42e-07/1.224, allocations: 3.938 kB / 1.584 GB, free: 372 kB / 1.311 GB Notification: Performance of remove unused functions: time 0.455/1.679, allocations: 1.048 MB / 1.585 GB, free: 458.6 MB / 1.311 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.006671/1.685, allocations: 3.742 MB / 1.589 GB, free: 457.7 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.00424/1.689, allocations: 3.548 MB / 1.592 GB, free: 456.3 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.69, allocations: 0.875 kB / 1.592 GB, free: 456.3 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.001815/1.691, allocations: 1.531 MB / 1.594 GB, free: 455.7 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/1.693, allocations: 393.5 kB / 1.594 GB, free: 455.5 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2939/1.987, allocations: 412.7 MB / 1.997 GB, free: 80.94 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/1.988, allocations: 1.788 MB / 1.999 GB, free: 79.13 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001808/1.99, allocations: 0.7809 MB / 2 GB, free: 78.36 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001408/1.992, allocations: 1.143 MB / 2.001 GB, free: 77.21 MB / 1.311 GB Notification: Performance of SimCode: time 8.31e-07/1.992, allocations: 0 / 2.001 GB, free: 77.21 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6622/2.654, allocations: 111.5 MB / 2.11 GB, free: 467.5 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/14.87, allocations: 13.03 kB / 2.11 GB, free: 467.5 MB / 1.326 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 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.csv","/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