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.007866/0.007866, allocations: 104.4 kB / 15.73 MB, free: 6.027 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.002151/0.002151, allocations: 186.3 kB / 16.67 MB, free: 5.957 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.523/1.523, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.575/2.575, allocations: 437.1 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 60.14 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7355/0.7375, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.009282/0.7468, allocations: 7.039 MB / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1856/0.9324, allocations: 155.6 MB / 1.325 GB, free: 496 kB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/0.9336, allocations: 27.88 kB / 1.325 GB, free: 468 kB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004505/0.9382, allocations: 1.814 MB / 1.327 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002537/0.9407, allocations: 0.8742 MB / 1.328 GB, free: 13.76 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002401/0.9432, allocations: 1.037 MB / 1.329 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003859/0.947, allocations: 3.657 MB / 1.332 GB, free: 9.062 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001325/0.9484, allocations: 0.9135 MB / 1.333 GB, free: 8.102 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.95, allocations: 1.188 MB / 1.334 GB, free: 6.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/0.9514, allocations: 1.066 MB / 1.335 GB, free: 5.84 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003087/0.9517, allocations: 204 kB / 1.336 GB, free: 5.641 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003677/0.9554, allocations: 2.243 MB / 1.338 GB, free: 3.395 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001331/0.9568, allocations: 1.423 MB / 1.339 GB, free: 1.969 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001587/0.9584, allocations: 1.508 MB / 1.341 GB, free: 464 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0066/0.965, allocations: 5.712 MB / 1.346 GB, free: 10.72 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.965, allocations: 0 / 1.346 GB, free: 10.72 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.493e-06/0.965, allocations: 0 / 1.346 GB, free: 10.72 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.608e-05/0.965, allocations: 4 kB / 1.346 GB, free: 10.72 MB / 1.076 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.007512/0.9726, allocations: 4.298 MB / 1.35 GB, free: 6.344 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.9726, allocations: 16.92 kB / 1.35 GB, free: 6.328 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002406/0.9729, allocations: 194.1 kB / 1.351 GB, free: 6.129 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.974, allocations: 366.8 kB / 1.351 GB, free: 5.77 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09305/1.067, allocations: 87.77 MB / 1.437 GB, free: 13.91 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/1.067, allocations: 110.4 kB / 1.437 GB, free: 13.8 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002162/1.067, allocations: 152 kB / 1.437 GB, free: 13.65 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002815/1.07, allocations: 1.542 MB / 1.438 GB, free: 12.05 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/1.07, allocations: 0 / 1.438 GB, free: 12.05 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/1.07, allocations: 48 kB / 1.438 GB, free: 12 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.215e-05/1.071, allocations: 28 kB / 1.438 GB, free: 11.97 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00274/1.073, allocations: 1.617 MB / 1.44 GB, free: 10.35 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02613/1.099, allocations: 24.05 MB / 1.463 GB, free: 2.121 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002647/1.102, allocations: 1.438 MB / 1.465 GB, free: 0.6797 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/1.103, allocations: 0.8863 MB / 1.466 GB, free: 15.79 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.239e-05/1.103, allocations: 36.86 kB / 1.466 GB, free: 15.75 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001533/1.105, allocations: 0.9538 MB / 1.467 GB, free: 14.79 MB / 1.201 GB Notification: Performance of pre-optimization done (n=104): time 3.166e-06/1.105, allocations: 0 / 1.467 GB, free: 14.79 MB / 1.201 GB Notification: Performance of matching and sorting (n=104): time 0.005298/1.11, allocations: 2.775 MB / 1.469 GB, free: 12 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002492/1.111, allocations: 322.5 kB / 1.47 GB, free: 11.63 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6352/1.746, allocations: 99.68 MB / 1.567 GB, free: 387.4 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0002701/1.746, allocations: 60.77 kB / 1.567 GB, free: 387.3 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009684/1.747, allocations: 1.102 MB / 1.568 GB, free: 386.7 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.000265/1.747, allocations: 360.8 kB / 1.569 GB, free: 386.5 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004949/1.748, allocations: 356.4 kB / 1.569 GB, free: 386.4 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.708e-05/1.748, allocations: 305.4 kB / 1.569 GB, free: 386.1 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/1.749, allocations: 1.199 MB / 1.57 GB, free: 385.8 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001515/1.751, allocations: 1.418 MB / 1.572 GB, free: 385.3 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002731/1.754, allocations: 2.587 MB / 1.574 GB, free: 383 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.754, allocations: 0 / 1.574 GB, free: 383 MB / 1.279 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00435/1.758, allocations: 3.222 MB / 1.577 GB, free: 380.1 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001257/1.758, allocations: 153.2 kB / 1.578 GB, free: 379.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/1.758, allocations: 5.25 kB / 1.578 GB, free: 379.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/1.758, allocations: 11.34 kB / 1.578 GB, free: 379.9 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/1.759, allocations: 313.2 kB / 1.578 GB, free: 379.7 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/1.759, allocations: 8.75 kB / 1.578 GB, free: 379.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/1.761, allocations: 325.7 kB / 1.578 GB, free: 379.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/1.761, allocations: 70.06 kB / 1.578 GB, free: 379.4 MB / 1.279 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.001063/1.762, allocations: 1.045 MB / 1.579 GB, free: 378.4 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005015/1.763, allocations: 253.8 kB / 1.58 GB, free: 378.2 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003212/1.766, allocations: 2.518 MB / 1.582 GB, free: 376 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/1.766, allocations: 9.891 kB / 1.582 GB, free: 376 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/1.766, allocations: 4 kB / 1.582 GB, free: 376 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/1.766, allocations: 9.75 kB / 1.582 GB, free: 376 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/1.767, allocations: 2.016 MB / 1.584 GB, free: 374.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/1.767, allocations: 3.984 kB / 1.584 GB, free: 374.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006058/1.768, allocations: 159.8 kB / 1.584 GB, free: 374.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/1.768, allocations: 4 kB / 1.584 GB, free: 374.2 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.752e-05/1.768, allocations: 39.91 kB / 1.584 GB, free: 374.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/1.768, allocations: 7.844 kB / 1.584 GB, free: 374.1 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.768, allocations: 3.75 kB / 1.584 GB, free: 374.1 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003088/1.771, allocations: 2.34 MB / 1.586 GB, free: 371.7 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009617/1.772, allocations: 0.815 MB / 1.587 GB, free: 370.9 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003536/1.773, allocations: 31.92 kB / 1.587 GB, free: 370.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/1.774, allocations: 187 kB / 1.587 GB, free: 370.7 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/1.774, allocations: 80.89 kB / 1.588 GB, free: 370.6 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.76e-05/1.774, allocations: 51.97 kB / 1.588 GB, free: 370.6 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.04825/1.822, allocations: 79.56 MB / 1.665 GB, free: 291 MB / 1.279 GB Notification: Performance of sort global known variables: time 4.6e-07/1.822, allocations: 0 / 1.665 GB, free: 291 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002962/1.825, allocations: 1.093 MB / 1.666 GB, free: 290 MB / 1.279 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.006717/1.832, allocations: 3.752 MB / 1.67 GB, free: 286.6 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003302/1.835, allocations: 3.552 MB / 1.674 GB, free: 283.1 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.836, allocations: 8.25 kB / 1.674 GB, free: 283.1 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001295/1.837, allocations: 1.524 MB / 1.675 GB, free: 281.5 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/1.839, allocations: 418.9 kB / 1.675 GB, free: 281.1 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3223/2.161, allocations: 412.8 MB / 2.079 GB, free: 11.94 MB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001983/2.163, allocations: 1.783 MB / 2.08 GB, free: 10.12 MB / 1.42 GB Notification: Performance of simCode: alias equations: time 0.002771/2.166, allocations: 0.7697 MB / 2.081 GB, free: 9.344 MB / 1.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002313/2.168, allocations: 1.147 MB / 2.082 GB, free: 8.195 MB / 1.42 GB Notification: Performance of SimCode: time 1.042e-06/2.168, allocations: 0 / 2.082 GB, free: 8.195 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7495/2.918, allocations: 112.2 MB / 2.192 GB, free: 471.1 MB / 1.436 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/15.77, allocations: 19.02 kB / 2.192 GB, free: 471.1 MB / 1.436 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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