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.008077/0.008077, allocations: 102.1 kB / 15.73 MB, free: 6.008 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.001989/0.001989, allocations: 192.1 kB / 16.67 MB, free: 5.949 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.593/2.593, allocations: 437 MB / 0.7105 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3069, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01038/0.3173, allocations: 8.21 MB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.8986/1.216, allocations: 159.5 MB / 1.33 GB, free: 3.387 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002101/1.218, allocations: 42.03 kB / 1.33 GB, free: 3.371 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.006745/1.225, allocations: 2.001 MB / 1.332 GB, free: 2.508 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004194/1.229, allocations: 1.29 MB / 1.333 GB, free: 1.746 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004154/1.233, allocations: 1.45 MB / 1.335 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007486/1.241, allocations: 5.445 MB / 1.34 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002495/1.243, allocations: 1.126 MB / 1.341 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00368/1.247, allocations: 1.698 MB / 1.343 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003507/1.251, allocations: 1.49 MB / 1.344 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001396/1.252, allocations: 276.8 kB / 1.344 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007591/1.26, allocations: 2.36 MB / 1.347 GB, free: 11.74 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.004477/1.264, allocations: 3.014 MB / 1.35 GB, free: 10.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.007436/1.272, allocations: 2.936 MB / 1.353 GB, free: 8.875 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01558/1.287, allocations: 10.82 MB / 1.363 GB, free: 2.715 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.287, allocations: 2.5 kB / 1.363 GB, free: 2.715 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/1.287, allocations: 0 / 1.363 GB, free: 2.715 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002808/1.287, allocations: 0 / 1.363 GB, free: 2.715 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.02369/1.311, allocations: 8.264 MB / 1.371 GB, free: 13.41 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/1.311, allocations: 9.969 kB / 1.371 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005389/1.312, allocations: 227.1 kB / 1.371 GB, free: 13.23 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004009/1.316, allocations: 0.593 MB / 1.372 GB, free: 12.91 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2516/1.567, allocations: 276 MB / 1.642 GB, free: 13.88 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/1.568, allocations: 142.9 kB / 1.642 GB, free: 13.74 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003501/1.568, allocations: 184 kB / 1.642 GB, free: 13.56 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003138/1.571, allocations: 1.964 MB / 1.644 GB, free: 11.52 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.112e-05/1.571, allocations: 0 / 1.644 GB, free: 11.52 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/1.571, allocations: 64 kB / 1.644 GB, free: 11.46 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.29e-05/1.571, allocations: 36 kB / 1.644 GB, free: 11.42 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003036/1.574, allocations: 1.982 MB / 1.646 GB, free: 9.434 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.0681/1.643, allocations: 70.32 MB / 1.714 GB, free: 2.863 MB / 1.373 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003191/1.646, allocations: 1.794 MB / 1.716 GB, free: 1.074 MB / 1.373 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/1.647, allocations: 1.089 MB / 1.717 GB, free: 15.98 MB / 1.389 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/1.647, allocations: 32.86 kB / 1.717 GB, free: 15.95 MB / 1.389 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001736/1.649, allocations: 1.196 MB / 1.719 GB, free: 14.73 MB / 1.389 GB Notification: Performance of pre-optimization done (n=117): time 3.106e-06/1.649, allocations: 0 / 1.719 GB, free: 14.73 MB / 1.389 GB Notification: Performance of matching and sorting (n=117): time 0.0104/1.66, allocations: 3.71 MB / 1.722 GB, free: 10.98 MB / 1.389 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002808/1.66, allocations: 342.5 kB / 1.722 GB, free: 10.6 MB / 1.389 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.002/2.662, allocations: 315.9 MB / 2.031 GB, free: 365.7 MB / 1.467 GB Notification: Performance of collectPreVariables (initialization): time 0.0007355/2.663, allocations: 65.7 kB / 2.031 GB, free: 365.6 MB / 1.467 GB Notification: Performance of collectInitialEqns (initialization): time 0.003838/2.666, allocations: 2.224 MB / 2.033 GB, free: 363.6 MB / 1.467 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005479/2.667, allocations: 385.2 kB / 2.034 GB, free: 363.4 MB / 1.467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007172/2.668, allocations: 458.8 kB / 2.034 GB, free: 363 MB / 1.467 GB Notification: Performance of setup shared object (initialization): time 5.122e-05/2.668, allocations: 309.8 kB / 2.034 GB, free: 362.7 MB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00173/2.67, allocations: 1.52 MB / 2.036 GB, free: 361.2 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/2.671, allocations: 1.833 MB / 2.038 GB, free: 359.3 MB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003297/2.675, allocations: 3.229 MB / 2.041 GB, free: 356 MB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.557e-06/2.675, allocations: 0 / 2.041 GB, free: 356 MB / 1.467 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.008926/2.684, allocations: 4.283 MB / 2.045 GB, free: 351.7 MB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001438/2.684, allocations: 165.5 kB / 2.045 GB, free: 351.5 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/2.684, allocations: 8 kB / 2.045 GB, free: 351.5 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006029/2.685, allocations: 93.48 kB / 2.045 GB, free: 351.4 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/2.686, allocations: 391.4 kB / 2.046 GB, free: 351 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/2.688, allocations: 1.647 MB / 2.047 GB, free: 349.3 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004654/2.692, allocations: 0.63 MB / 2.048 GB, free: 348.6 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004519/2.693, allocations: 91.97 kB / 2.048 GB, free: 348.5 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.00397/2.697, allocations: 2.162 MB / 2.05 GB, free: 346.4 MB / 1.467 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003524/2.7, allocations: 461.9 kB / 2.05 GB, free: 345.9 MB / 1.467 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006032/2.707, allocations: 3.371 MB / 2.054 GB, free: 342.5 MB / 1.467 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/2.707, allocations: 12 kB / 2.054 GB, free: 342.5 MB / 1.467 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/2.707, allocations: 0 / 2.054 GB, free: 342.5 MB / 1.467 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/2.707, allocations: 11.83 kB / 2.054 GB, free: 342.5 MB / 1.467 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007081/2.714, allocations: 4.088 MB / 2.058 GB, free: 338.4 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/2.714, allocations: 0 / 2.058 GB, free: 338.4 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000811/2.715, allocations: 187.5 kB / 2.058 GB, free: 338.2 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004547/2.715, allocations: 79.7 kB / 2.058 GB, free: 338.2 MB / 1.467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001572/2.715, allocations: 43.97 kB / 2.058 GB, free: 338.1 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/2.717, allocations: 1.653 MB / 2.06 GB, free: 336.3 MB / 1.467 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/2.717, allocations: 3.984 kB / 2.06 GB, free: 336.3 MB / 1.467 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006872/2.724, allocations: 3.038 MB / 2.063 GB, free: 333.3 MB / 1.467 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004223/2.728, allocations: 1.771 MB / 2.064 GB, free: 331.5 MB / 1.467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001777/2.73, allocations: 31.94 kB / 2.064 GB, free: 331.4 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002539/2.732, allocations: 417.4 kB / 2.065 GB, free: 331 MB / 1.467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002632/2.733, allocations: 96.8 kB / 2.065 GB, free: 330.9 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/2.733, allocations: 63.97 kB / 2.065 GB, free: 330.9 MB / 1.467 GB Notification: Performance of sorting global known variables: time 0.1582/2.891, allocations: 251.5 MB / 2.311 GB, free: 79.32 MB / 1.467 GB Notification: Performance of sort global known variables: time 8.62e-07/2.891, allocations: 0 / 2.311 GB, free: 79.32 MB / 1.467 GB Notification: Performance of remove unused functions: time 0.006404/2.897, allocations: 1.397 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.009949/2.907, allocations: 4.468 MB / 2.316 GB, free: 73.82 MB / 1.467 GB Notification: Performance of simCode: created initialization part: time 0.004605/2.912, allocations: 4.333 MB / 2.321 GB, free: 69.47 MB / 1.467 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/2.912, allocations: 0 / 2.321 GB, free: 69.47 MB / 1.467 GB Notification: Performance of simCode: created simulation system equations: time 0.001823/2.914, allocations: 1.903 MB / 2.322 GB, free: 67.55 MB / 1.467 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004942/2.919, allocations: 0.6152 MB / 2.323 GB, free: 66.96 MB / 1.467 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.659/5.578, allocations: 1.258 GB / 3.581 GB, free: 0.4997 GB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004455/5.582, allocations: 3.015 MB / 3.584 GB, free: 0.4986 GB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.004983/5.587, allocations: 1.69 MB / 3.585 GB, free: 0.4984 GB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004816/5.592, allocations: 2.354 MB / 3.587 GB, free: 0.4968 GB / 1.467 GB Notification: Performance of SimCode: time 1.122e-06/5.592, allocations: 0 / 3.587 GB, free: 0.4968 GB / 1.467 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5218/6.114, allocations: 273.4 MB / 3.854 GB, free: 253.1 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.19/30.3, allocations: 10.91 kB / 3.854 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 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.mat","/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