Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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.WindowRadiation,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",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.001718/0.001718, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 188.8 kB / 16.67 MB, free: 6.582 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.404/1.404, 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.653/2.653, allocations: 437 MB / 0.7105 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 63.91 kB / 1.018 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2793, allocations: 151.6 MB / 1.166 GB, free: 7.445 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01053/0.2899, allocations: 8.227 MB / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.7254/1.015, allocations: 159.5 MB / 1.33 GB, free: 3.695 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/1.017, allocations: 39.22 kB / 1.33 GB, free: 3.684 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00522/1.022, allocations: 1.985 MB / 1.332 GB, free: 2.824 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003258/1.025, allocations: 1.277 MB / 1.333 GB, free: 2.07 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003359/1.029, allocations: 1.439 MB / 1.335 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005626/1.034, allocations: 5.447 MB / 1.34 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001543/1.036, allocations: 1.114 MB / 1.341 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002597/1.038, allocations: 1.694 MB / 1.343 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002305/1.041, allocations: 1.499 MB / 1.344 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0004668/1.041, allocations: 277.4 kB / 1.344 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004341/1.046, allocations: 2.351 MB / 1.347 GB, free: 12.08 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002491/1.048, allocations: 3.014 MB / 1.35 GB, free: 11.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003616/1.052, allocations: 2.943 MB / 1.353 GB, free: 9.203 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01292/1.065, allocations: 10.85 MB / 1.363 GB, free: 2.992 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.065, allocations: 3.062 kB / 1.363 GB, free: 2.992 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.643e-06/1.065, allocations: 0 / 1.363 GB, free: 2.992 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001676/1.065, allocations: 0 / 1.363 GB, free: 2.992 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: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.02103/1.086, allocations: 8.458 MB / 1.371 GB, free: 13.49 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/1.086, allocations: 10.19 kB / 1.371 GB, free: 13.49 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003134/1.086, allocations: 221.1 kB / 1.372 GB, free: 13.31 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002764/1.089, allocations: 0.6255 MB / 1.372 GB, free: 12.97 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2898/1.379, allocations: 276.1 MB / 1.642 GB, free: 13.81 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/1.379, allocations: 138.9 kB / 1.642 GB, free: 13.68 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003126/1.379, allocations: 184 kB / 1.642 GB, free: 13.5 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003522/1.383, allocations: 1.968 MB / 1.644 GB, free: 11.45 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/1.383, allocations: 3.469 kB / 1.644 GB, free: 11.45 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/1.383, allocations: 60 kB / 1.644 GB, free: 11.39 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.197e-05/1.383, allocations: 36 kB / 1.644 GB, free: 11.36 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003429/1.387, allocations: 1.986 MB / 1.646 GB, free: 9.363 MB / 1.311 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06998/1.457, allocations: 70.35 MB / 1.715 GB, free: 2.777 MB / 1.373 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003213/1.46, allocations: 1.792 MB / 1.717 GB, free: 0.9883 MB / 1.373 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001511/1.461, allocations: 1.078 MB / 1.718 GB, free: 15.91 MB / 1.389 GB Notification: Performance of preOpt evalFunc (simulation): time 9.148e-05/1.461, allocations: 41.09 kB / 1.718 GB, free: 15.87 MB / 1.389 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00182/1.463, allocations: 1.196 MB / 1.719 GB, free: 14.65 MB / 1.389 GB Notification: Performance of pre-optimization done (n=117): time 2.574e-06/1.463, allocations: 0 / 1.719 GB, free: 14.65 MB / 1.389 GB Notification: Performance of matching and sorting (n=117): time 0.009283/1.473, allocations: 3.728 MB / 1.722 GB, free: 10.89 MB / 1.389 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000277/1.473, allocations: 342.5 kB / 1.723 GB, free: 10.5 MB / 1.389 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.861/2.334, allocations: 315.9 MB / 2.031 GB, free: 365.8 MB / 1.467 GB Notification: Performance of collectPreVariables (initialization): time 0.0003943/2.334, allocations: 67.08 kB / 2.031 GB, free: 365.7 MB / 1.467 GB Notification: Performance of collectInitialEqns (initialization): time 0.002581/2.337, allocations: 2.242 MB / 2.034 GB, free: 363.7 MB / 1.467 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003931/2.337, allocations: 407.2 kB / 2.034 GB, free: 363.6 MB / 1.467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005954/2.338, allocations: 465.6 kB / 2.034 GB, free: 363.1 MB / 1.467 GB Notification: Performance of setup shared object (initialization): time 3.393e-05/2.338, allocations: 303.4 kB / 2.035 GB, free: 362.8 MB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001699/2.34, allocations: 1.526 MB / 2.036 GB, free: 361.3 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001829/2.342, allocations: 1.832 MB / 2.038 GB, free: 359.4 MB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003218/2.345, allocations: 3.23 MB / 2.041 GB, free: 356.1 MB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/2.345, allocations: 4 kB / 2.041 GB, free: 356.1 MB / 1.467 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007374/2.352, allocations: 4.3 MB / 2.045 GB, free: 351.8 MB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001249/2.352, allocations: 172.1 kB / 2.046 GB, free: 351.6 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/2.352, allocations: 7.938 kB / 2.046 GB, free: 351.6 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005639/2.353, allocations: 96.14 kB / 2.046 GB, free: 351.5 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/2.354, allocations: 391.4 kB / 2.046 GB, free: 351.1 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/2.356, allocations: 1.64 MB / 2.048 GB, free: 349.4 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003627/2.359, allocations: 0.649 MB / 2.048 GB, free: 348.8 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/2.36, allocations: 87.97 kB / 2.048 GB, free: 348.7 MB / 1.467 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (230): * Single equations (assignments): 228 * Array equations: 0 * Algorithm blocks: 1 * 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.002646/2.362, allocations: 2.162 MB / 2.05 GB, free: 346.5 MB / 1.467 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002118/2.364, allocations: 484.7 kB / 2.051 GB, free: 346.1 MB / 1.467 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005034/2.369, allocations: 3.374 MB / 2.054 GB, free: 342.7 MB / 1.467 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/2.37, allocations: 12 kB / 2.054 GB, free: 342.7 MB / 1.467 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/2.37, allocations: 3.938 kB / 2.054 GB, free: 342.7 MB / 1.467 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/2.37, allocations: 7.859 kB / 2.054 GB, free: 342.7 MB / 1.467 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005207/2.375, allocations: 4.094 MB / 2.058 GB, free: 338.6 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/2.375, allocations: 0 / 2.058 GB, free: 338.6 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007245/2.375, allocations: 183.7 kB / 2.058 GB, free: 338.4 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004384/2.376, allocations: 78.81 kB / 2.058 GB, free: 338.3 MB / 1.467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/2.376, allocations: 39.97 kB / 2.058 GB, free: 338.3 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/2.378, allocations: 1.658 MB / 2.06 GB, free: 336.5 MB / 1.467 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/2.378, allocations: 0 / 2.06 GB, free: 336.5 MB / 1.467 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006082/2.384, allocations: 3.054 MB / 2.063 GB, free: 333.4 MB / 1.467 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003528/2.387, allocations: 1.801 MB / 2.065 GB, free: 331.6 MB / 1.467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001091/2.388, allocations: 38.41 kB / 2.065 GB, free: 331.5 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002263/2.391, allocations: 416.8 kB / 2.065 GB, free: 331.1 MB / 1.467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002198/2.391, allocations: 96.86 kB / 2.065 GB, free: 331 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/2.391, allocations: 60.09 kB / 2.065 GB, free: 331 MB / 1.467 GB Notification: Performance of sorting global known variables: time 0.1563/2.547, allocations: 251.5 MB / 2.311 GB, free: 79.42 MB / 1.467 GB Notification: Performance of sort global known variables: time 6.61e-07/2.547, allocations: 0 / 2.311 GB, free: 79.42 MB / 1.467 GB Notification: Performance of remove unused functions: time 0.004735/2.552, allocations: 1.415 MB / 2.312 GB, free: 78 MB / 1.467 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 (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 1 * 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.008543/2.561, allocations: 4.495 MB / 2.317 GB, free: 73.75 MB / 1.467 GB Notification: Performance of simCode: created initialization part: time 0.004237/2.565, allocations: 4.339 MB / 2.321 GB, free: 69.39 MB / 1.467 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/2.565, allocations: 0 / 2.321 GB, free: 69.39 MB / 1.467 GB Notification: Performance of simCode: created simulation system equations: time 0.00172/2.567, allocations: 1.902 MB / 2.323 GB, free: 67.46 MB / 1.467 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003647/2.57, allocations: 0.6071 MB / 2.324 GB, free: 66.88 MB / 1.467 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.433/5.003, allocations: 1.258 GB / 3.581 GB, free: 0.4999 GB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002751/5.006, allocations: 3.01 MB / 3.584 GB, free: 0.4987 GB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.004118/5.01, allocations: 1.693 MB / 3.586 GB, free: 0.4985 GB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003805/5.014, allocations: 2.346 MB / 3.588 GB, free: 0.497 GB / 1.467 GB Notification: Performance of SimCode: time 7.02e-07/5.014, allocations: 5.688 kB / 3.588 GB, free: 0.497 GB / 1.467 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.716/6.73, allocations: 273.4 MB / 3.855 GB, free: 253.1 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.15/31.88, allocations: 11.94 kB / 3.855 GB, free: 253.1 MB / 1.467 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_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_WindowRadiation.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches