Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 108 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.76/2.76, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002771/0.002771, allocations: 71.89 kB / 1.104 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9313/0.9341, allocations: 168.7 MB / 1.269 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01178/0.9459, allocations: 8.247 MB / 1.277 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1928/1.139, allocations: 160 MB / 1.433 GB, free: 12.29 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001997/1.141, allocations: 39.75 kB / 1.433 GB, free: 12.25 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.005762/1.146, allocations: 2.011 MB / 1.435 GB, free: 10.23 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004242/1.151, allocations: 1.298 MB / 1.436 GB, free: 8.93 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00411/1.155, allocations: 1.446 MB / 1.438 GB, free: 7.488 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.007517/1.162, allocations: 5.411 MB / 1.443 GB, free: 2.066 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001775/1.164, allocations: 0.7772 MB / 1.444 GB, free: 1.242 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003408/1.167, allocations: 1.699 MB / 1.445 GB, free: 15.54 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003058/1.171, allocations: 1.604 MB / 1.447 GB, free: 13.93 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0009036/1.171, allocations: 280 kB / 1.447 GB, free: 13.66 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00546/1.177, allocations: 2.434 MB / 1.45 GB, free: 11.22 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.003871/1.181, allocations: 3.087 MB / 1.453 GB, free: 8.125 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.005752/1.187, allocations: 2.939 MB / 1.456 GB, free: 5.172 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01545/1.202, allocations: 10.86 MB / 1.466 GB, free: 10.28 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/1.202, allocations: 0 / 1.466 GB, free: 10.28 MB / 1.17 GB Notification: Performance of FrontEnd: time 3.607e-06/1.202, allocations: 3.984 kB / 1.466 GB, free: 10.28 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0002525/1.202, allocations: 0 / 1.466 GB, free: 10.28 MB / 1.17 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.023/1.225, allocations: 8.468 MB / 1.474 GB, free: 1.711 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/1.225, allocations: 8.031 kB / 1.474 GB, free: 1.703 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003926/1.226, allocations: 223.8 kB / 1.475 GB, free: 1.473 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003837/1.23, allocations: 0.6221 MB / 1.475 GB, free: 0.8477 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9062/2.136, allocations: 276.1 MB / 1.745 GB, free: 190.8 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/2.136, allocations: 138.9 kB / 1.745 GB, free: 190.7 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005187/2.136, allocations: 184 kB / 1.745 GB, free: 190.5 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003606/2.14, allocations: 1.968 MB / 1.747 GB, free: 188.5 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.565e-05/2.14, allocations: 0 / 1.747 GB, free: 188.5 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002239/2.14, allocations: 60 kB / 1.747 GB, free: 188.4 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/2.14, allocations: 36.77 kB / 1.747 GB, free: 188.4 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002929/2.143, allocations: 1.99 MB / 1.749 GB, free: 186.4 MB / 1.295 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.04898/2.192, allocations: 70.34 MB / 1.818 GB, free: 115.8 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002891/2.195, allocations: 1.579 MB / 1.819 GB, free: 114.2 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/2.196, allocations: 0.9041 MB / 1.82 GB, free: 113.3 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/2.196, allocations: 41.08 kB / 1.82 GB, free: 113.3 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001575/2.198, allocations: 1.202 MB / 1.822 GB, free: 112.1 MB / 1.295 GB Notification: Performance of pre-optimization done (n=117): time 3.236e-06/2.198, allocations: 0 / 1.822 GB, free: 112.1 MB / 1.295 GB Notification: Performance of matching and sorting (n=117): time 0.008401/2.206, allocations: 3.746 MB / 1.825 GB, free: 108.3 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001939/2.207, allocations: 338.5 kB / 1.825 GB, free: 107.9 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3577/2.564, allocations: 315.9 MB / 2.134 GB, free: 15.94 MB / 1.514 GB Notification: Performance of collectPreVariables (initialization): time 0.0004745/2.565, allocations: 65.7 kB / 2.134 GB, free: 15.87 MB / 1.514 GB Notification: Performance of collectInitialEqns (initialization): time 0.00452/2.569, allocations: 2.247 MB / 2.136 GB, free: 13.61 MB / 1.514 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007723/2.57, allocations: 400.6 kB / 2.137 GB, free: 13.22 MB / 1.514 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001334/2.571, allocations: 463 kB / 2.137 GB, free: 12.77 MB / 1.514 GB Notification: Performance of setup shared object (initialization): time 0.0001625/2.571, allocations: 309.1 kB / 2.137 GB, free: 12.46 MB / 1.514 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002716/2.574, allocations: 1.523 MB / 2.139 GB, free: 10.94 MB / 1.514 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003067/2.577, allocations: 1.839 MB / 2.141 GB, free: 9.004 MB / 1.514 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005333/2.583, allocations: 3.221 MB / 2.144 GB, free: 5.695 MB / 1.514 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.611e-05/2.583, allocations: 0 / 2.144 GB, free: 5.695 MB / 1.514 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.01201/2.595, allocations: 4.329 MB / 2.148 GB, free: 1.344 MB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002509/2.595, allocations: 169.6 kB / 2.148 GB, free: 1.172 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/2.595, allocations: 4 kB / 2.148 GB, free: 1.168 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007173/2.596, allocations: 93.08 kB / 2.148 GB, free: 1.074 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/2.597, allocations: 390.5 kB / 2.149 GB, free: 0.6953 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002853/2.6, allocations: 1.656 MB / 2.15 GB, free: 14.89 MB / 1.529 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004611/2.605, allocations: 0.6421 MB / 2.151 GB, free: 14.25 MB / 1.529 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005735/2.605, allocations: 83.97 kB / 2.151 GB, free: 14.17 MB / 1.529 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.004559/2.61, allocations: 2.168 MB / 2.153 GB, free: 11.98 MB / 1.529 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003304/2.613, allocations: 484.7 kB / 2.154 GB, free: 11.5 MB / 1.529 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008384/2.622, allocations: 3.398 MB / 2.157 GB, free: 8.086 MB / 1.529 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.609e-05/2.622, allocations: 15.98 kB / 2.157 GB, free: 8.07 MB / 1.529 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/2.622, allocations: 3.938 kB / 2.157 GB, free: 8.066 MB / 1.529 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.992e-05/2.622, allocations: 8.109 kB / 2.157 GB, free: 8.059 MB / 1.529 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009938/2.632, allocations: 4.082 MB / 2.161 GB, free: 3.922 MB / 1.529 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.738e-05/2.632, allocations: 0 / 2.161 GB, free: 3.922 MB / 1.529 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/2.633, allocations: 191.7 kB / 2.161 GB, free: 3.734 MB / 1.529 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005649/2.633, allocations: 72.8 kB / 2.161 GB, free: 3.66 MB / 1.529 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003493/2.634, allocations: 39.97 kB / 2.161 GB, free: 3.621 MB / 1.529 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002551/2.636, allocations: 1.662 MB / 2.163 GB, free: 1.809 MB / 1.529 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/2.636, allocations: 0 / 2.163 GB, free: 1.809 MB / 1.529 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008796/2.645, allocations: 3.089 MB / 2.166 GB, free: 14.69 MB / 1.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005739/2.651, allocations: 1.805 MB / 2.168 GB, free: 12.86 MB / 1.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00219/2.653, allocations: 24 kB / 2.168 GB, free: 12.84 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003896/2.657, allocations: 423.7 kB / 2.168 GB, free: 12.43 MB / 1.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004485/2.657, allocations: 88.88 kB / 2.168 GB, free: 12.34 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002289/2.658, allocations: 63.95 kB / 2.168 GB, free: 12.28 MB / 1.545 GB Notification: Performance of sorting global known variables: time 0.853/3.511, allocations: 251.5 MB / 2.414 GB, free: 384.9 MB / 1.561 GB Notification: Performance of sort global known variables: time 3.41e-07/3.511, allocations: 0 / 2.414 GB, free: 384.9 MB / 1.561 GB Notification: Performance of remove unused functions: time 0.006187/3.517, allocations: 1.42 MB / 2.415 GB, free: 383.7 MB / 1.561 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.01113/3.528, allocations: 4.52 MB / 2.42 GB, free: 379.8 MB / 1.561 GB Notification: Performance of simCode: created initialization part: time 0.004756/3.533, allocations: 3.336 MB / 2.423 GB, free: 376.5 MB / 1.561 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/3.533, allocations: 0 / 2.423 GB, free: 376.5 MB / 1.561 GB Notification: Performance of simCode: created simulation system equations: time 0.002013/3.535, allocations: 1.535 MB / 2.424 GB, free: 374.9 MB / 1.561 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00632/3.541, allocations: 0.6145 MB / 2.425 GB, free: 374.3 MB / 1.561 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.361/5.902, allocations: 1.258 GB / 3.683 GB, free: 285.2 MB / 1.561 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005143/5.907, allocations: 3.014 MB / 3.686 GB, free: 282.2 MB / 1.561 GB Notification: Performance of simCode: alias equations: time 0.005946/5.913, allocations: 1.693 MB / 3.687 GB, free: 280.6 MB / 1.561 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005538/5.918, allocations: 2.346 MB / 3.69 GB, free: 278.3 MB / 1.561 GB Notification: Performance of SimCode: time 2.114e-06/5.918, allocations: 0 / 3.69 GB, free: 278.3 MB / 1.561 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.004/6.922, allocations: 287.5 MB / 3.97 GB, free: 0.5581 GB / 1.561 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.65/32.58, allocations: 10.3 kB / 3.97 GB, free: 0.5581 GB / 1.561 GB " [Timeout remaining time 267] (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 39.61705160792917]