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.007049/0.007049, allocations: 96.97 kB / 15.73 MB, free: 6.031 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.001505/0.001505, allocations: 194.6 kB / 16.68 MB, free: 5.961 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.322/2.322, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 60.44 kB / 0.9504 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2358, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.007355/0.2432, allocations: 5.729 MB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1508/0.3941, allocations: 155.2 MB / 1.245 GB, free: 388 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009827/0.3951, allocations: 27.81 kB / 1.245 GB, free: 360 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004194/0.3993, allocations: 1.778 MB / 1.246 GB, free: 14.57 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002267/0.4016, allocations: 0.8062 MB / 1.247 GB, free: 13.76 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002551/0.4042, allocations: 0.9769 MB / 1.248 GB, free: 12.79 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002723/0.4069, allocations: 2.381 MB / 1.251 GB, free: 10.4 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/0.4083, allocations: 0.9758 MB / 1.251 GB, free: 9.387 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.4096, allocations: 0.876 MB / 1.252 GB, free: 8.508 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/0.4108, allocations: 0.9024 MB / 1.253 GB, free: 7.602 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003351/0.4112, allocations: 184 kB / 1.253 GB, free: 7.422 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003412/0.4146, allocations: 2.267 MB / 1.256 GB, free: 5.152 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008953/0.4155, allocations: 1.208 MB / 1.257 GB, free: 3.941 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001208/0.4167, allocations: 1.387 MB / 1.258 GB, free: 2.547 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.5226/0.9394, allocations: 5.387 MB / 1.263 GB, free: 10.74 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.9394, allocations: 1.422 kB / 1.263 GB, free: 10.74 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9394, allocations: 0 / 1.263 GB, free: 10.74 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.297e-05/0.9395, allocations: 0.7812 kB / 1.263 GB, free: 10.74 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.007445/0.9469, allocations: 4.046 MB / 1.267 GB, free: 9.039 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.947, allocations: 10.03 kB / 1.267 GB, free: 9.039 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002389/0.9472, allocations: 189.8 kB / 1.268 GB, free: 8.996 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.9487, allocations: 371.2 kB / 1.268 GB, free: 8.832 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1248/1.074, allocations: 91.69 MB / 1.357 GB, free: 2.766 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/1.074, allocations: 103.4 kB / 1.358 GB, free: 2.664 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/1.074, allocations: 132 kB / 1.358 GB, free: 2.535 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/1.076, allocations: 1.362 MB / 1.359 GB, free: 1.121 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/1.076, allocations: 4.703 kB / 1.359 GB, free: 1.121 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/1.077, allocations: 56.91 kB / 1.359 GB, free: 1.066 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.462e-05/1.077, allocations: 32 kB / 1.359 GB, free: 1.035 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002338/1.079, allocations: 1.498 MB / 1.361 GB, free: 15.54 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02041/1.099, allocations: 23.4 MB / 1.383 GB, free: 8.18 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002146/1.102, allocations: 1.115 MB / 1.384 GB, free: 7.078 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000734/1.102, allocations: 453 kB / 1.385 GB, free: 6.637 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.629e-05/1.102, allocations: 44.78 kB / 1.385 GB, free: 6.609 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001084/1.104, allocations: 0.6507 MB / 1.386 GB, free: 5.941 MB / 1.061 GB Notification: Performance of pre-optimization done (n=100): time 2.465e-06/1.104, allocations: 0.9375 kB / 1.386 GB, free: 5.941 MB / 1.061 GB Notification: Performance of matching and sorting (n=100): time 0.004605/1.108, allocations: 1.749 MB / 1.387 GB, free: 4.176 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.46e-05/1.108, allocations: 198 kB / 1.387 GB, free: 3.941 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1045/1.213, allocations: 99.42 MB / 1.485 GB, free: 496 kB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.000358/1.213, allocations: 54.7 kB / 1.485 GB, free: 436 kB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001236/1.214, allocations: 1.068 MB / 1.486 GB, free: 15.38 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003423/1.215, allocations: 347.9 kB / 1.486 GB, free: 15.05 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003813/1.215, allocations: 238.8 kB / 1.486 GB, free: 14.81 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001213/1.215, allocations: 354.9 kB / 1.487 GB, free: 14.46 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009116/1.216, allocations: 491.3 kB / 1.487 GB, free: 13.98 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009839/1.217, allocations: 0.6274 MB / 1.488 GB, free: 13.32 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/1.219, allocations: 1 MB / 1.489 GB, free: 12.32 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/1.219, allocations: 0.75 kB / 1.489 GB, free: 12.32 MB / 1.17 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003885/1.223, allocations: 1.514 MB / 1.49 GB, free: 10.8 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/1.223, allocations: 7.984 kB / 1.49 GB, free: 10.8 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/1.223, allocations: 5.031 kB / 1.49 GB, free: 10.79 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005968/1.223, allocations: 80.34 kB / 1.49 GB, free: 10.71 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009834/1.224, allocations: 236.6 kB / 1.49 GB, free: 10.5 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002104/1.227, allocations: 1.639 MB / 1.492 GB, free: 8.734 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/1.228, allocations: 280.6 kB / 1.492 GB, free: 8.461 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/1.229, allocations: 47.97 kB / 1.492 GB, free: 8.414 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.001361/1.23, allocations: 0.8076 MB / 1.493 GB, free: 7.617 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006868/1.231, allocations: 231.4 kB / 1.493 GB, free: 7.391 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003221/1.234, allocations: 1.628 MB / 1.495 GB, free: 5.777 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/1.234, allocations: 12.66 kB / 1.495 GB, free: 5.766 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/1.234, allocations: 0.9062 kB / 1.495 GB, free: 5.766 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/1.234, allocations: 8.031 kB / 1.495 GB, free: 5.758 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002229/1.236, allocations: 1.966 MB / 1.497 GB, free: 3.77 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/1.236, allocations: 1.062 kB / 1.497 GB, free: 3.77 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007777/1.237, allocations: 182.7 kB / 1.497 GB, free: 3.602 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004423/1.237, allocations: 71.97 kB / 1.497 GB, free: 3.531 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.771e-05/1.237, allocations: 31.98 kB / 1.497 GB, free: 3.5 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/1.239, allocations: 1.659 MB / 1.499 GB, free: 1.715 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.239, allocations: 0.7812 kB / 1.499 GB, free: 1.715 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002952/1.242, allocations: 1.373 MB / 1.5 GB, free: 336 kB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001345/1.244, allocations: 0.777 MB / 1.501 GB, free: 15.54 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003804/1.244, allocations: 23.94 kB / 1.501 GB, free: 15.51 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/1.245, allocations: 187.1 kB / 1.501 GB, free: 15.33 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/1.245, allocations: 85.97 kB / 1.501 GB, free: 15.25 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.548e-05/1.246, allocations: 43.98 kB / 1.501 GB, free: 15.2 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.06966/1.315, allocations: 79.41 MB / 1.579 GB, free: 15.8 MB / 1.264 GB Notification: Performance of sort global known variables: time 4.7e-07/1.315, allocations: 0 / 1.579 GB, free: 15.8 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003496/1.319, allocations: 1.007 MB / 1.58 GB, free: 14.79 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.005804/1.325, allocations: 2.79 MB / 1.582 GB, free: 12.27 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002368/1.327, allocations: 1.24 MB / 1.584 GB, free: 11.04 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.327, allocations: 0 / 1.584 GB, free: 11.04 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001152/1.328, allocations: 0.6747 MB / 1.584 GB, free: 10.38 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002127/1.33, allocations: 407.5 kB / 1.585 GB, free: 9.996 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8078/2.138, allocations: 407.2 MB / 1.982 GB, free: 470.1 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/2.139, allocations: 1.719 MB / 1.984 GB, free: 468.4 MB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.002154/2.141, allocations: 0.7693 MB / 1.985 GB, free: 467.7 MB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001594/2.143, allocations: 1.108 MB / 1.986 GB, free: 466.6 MB / 1.467 GB Notification: Performance of SimCode: time 6.31e-07/2.143, allocations: 0 / 1.986 GB, free: 466.6 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1983/2.341, allocations: 107.7 MB / 2.091 GB, free: 360.1 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.45/17.79, allocations: 3.75 kB / 2.091 GB, free: 360.1 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_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_TransmittedRadiation.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.csv","/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