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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 215.2 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.85/2.85, allocations: 476.8 MB / 0.7715 GB, free: 3.902 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 62.44 kB / 1.118 GB, free: 39.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3171, allocations: 170 MB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01291/0.33, allocations: 7.255 MB / 1.291 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1847/0.5147, allocations: 140.7 MB / 1.429 GB, free: 6.188 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001979/0.5167, allocations: 59.5 kB / 1.429 GB, free: 6.129 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.006031/0.5227, allocations: 2.141 MB / 1.431 GB, free: 3.98 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004058/0.5268, allocations: 1.305 MB / 1.432 GB, free: 2.672 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003926/0.5307, allocations: 1.532 MB / 1.433 GB, free: 1.148 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.007459/0.5381, allocations: 5.883 MB / 1.439 GB, free: 11.25 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001829/0.54, allocations: 0.75 MB / 1.44 GB, free: 10.45 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003622/0.5436, allocations: 1.749 MB / 1.442 GB, free: 8.695 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00298/0.5466, allocations: 1.641 MB / 1.443 GB, free: 7.051 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0006987/0.5473, allocations: 276 kB / 1.444 GB, free: 6.781 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005315/0.5526, allocations: 2.793 MB / 1.446 GB, free: 3.984 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.003421/0.556, allocations: 3.107 MB / 1.449 GB, free: 0.8711 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.004144/0.5601, allocations: 2.368 MB / 1.452 GB, free: 14.49 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01497/0.5751, allocations: 10.99 MB / 1.462 GB, free: 3.465 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.5751, allocations: 0 / 1.462 GB, free: 3.465 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5751, allocations: 0 / 1.462 GB, free: 3.465 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0002196/0.5753, allocations: 4 kB / 1.462 GB, free: 3.461 MB / 1.154 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.02298/0.5983, allocations: 8.548 MB / 1.471 GB, free: 10.83 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.5984, allocations: 8.031 kB / 1.471 GB, free: 10.82 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.373e-05/0.5984, allocations: 39.11 kB / 1.471 GB, free: 10.79 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005664/0.599, allocations: 227.8 kB / 1.471 GB, free: 10.55 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005518/0.6045, allocations: 0.7041 MB / 1.472 GB, free: 9.844 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.018/1.623, allocations: 276.2 MB / 1.741 GB, free: 192.5 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/1.623, allocations: 134.9 kB / 1.741 GB, free: 192.3 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004877/1.623, allocations: 188 kB / 1.742 GB, free: 192.1 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003291/1.627, allocations: 2.154 MB / 1.744 GB, free: 189.8 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/1.627, allocations: 4 kB / 1.744 GB, free: 189.8 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001469/1.627, allocations: 67.98 kB / 1.744 GB, free: 189.8 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/1.627, allocations: 36 kB / 1.744 GB, free: 189.7 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002742/1.63, allocations: 1.929 MB / 1.746 GB, free: 187.8 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.04669/1.676, allocations: 68.75 MB / 1.813 GB, free: 118.9 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002583/1.679, allocations: 1.554 MB / 1.814 GB, free: 117.4 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/1.68, allocations: 0.8712 MB / 1.815 GB, free: 116.5 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-05/1.68, allocations: 32.97 kB / 1.815 GB, free: 116.5 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001686/1.682, allocations: 1.282 MB / 1.816 GB, free: 115.1 MB / 1.295 GB Notification: Performance of pre-optimization done (n=117): time 5.29e-06/1.682, allocations: 0 / 1.816 GB, free: 115.1 MB / 1.295 GB Notification: Performance of matching and sorting (n=117): time 0.01196/1.694, allocations: 3.445 MB / 1.82 GB, free: 111.6 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000236/1.694, allocations: 322.5 kB / 1.82 GB, free: 111.3 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3701/2.064, allocations: 316 MB / 2.129 GB, free: 3.285 MB / 1.498 GB Notification: Performance of collectPreVariables (initialization): time 0.0006801/2.065, allocations: 61.7 kB / 2.129 GB, free: 3.219 MB / 1.498 GB Notification: Performance of collectInitialEqns (initialization): time 0.004257/2.069, allocations: 2.256 MB / 2.131 GB, free: 0.957 MB / 1.498 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008021/2.07, allocations: 398.9 kB / 2.131 GB, free: 0.5664 MB / 1.498 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009767/2.071, allocations: 459.4 kB / 2.132 GB, free: 116 kB / 1.498 GB Notification: Performance of setup shared object (initialization): time 0.0001756/2.071, allocations: 309.1 kB / 2.132 GB, free: 15.81 MB / 1.514 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002566/2.073, allocations: 1.503 MB / 2.134 GB, free: 14.3 MB / 1.514 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002793/2.076, allocations: 1.939 MB / 2.135 GB, free: 12.23 MB / 1.514 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004585/2.081, allocations: 2.884 MB / 2.138 GB, free: 9.262 MB / 1.514 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/2.081, allocations: 0 / 2.138 GB, free: 9.262 MB / 1.514 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.00981/2.091, allocations: 4.139 MB / 2.142 GB, free: 5.094 MB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001968/2.091, allocations: 137.6 kB / 2.142 GB, free: 4.953 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/2.091, allocations: 4 kB / 2.142 GB, free: 4.949 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006941/2.092, allocations: 97.92 kB / 2.143 GB, free: 4.852 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001862/2.093, allocations: 392.9 kB / 2.143 GB, free: 4.469 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002502/2.096, allocations: 1.526 MB / 2.144 GB, free: 2.82 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004821/2.101, allocations: 0.6507 MB / 2.145 GB, free: 2.168 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005313/2.101, allocations: 83.97 kB / 2.145 GB, free: 2.086 MB / 1.514 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.004403/2.106, allocations: 2.144 MB / 2.147 GB, free: 15.93 MB / 1.529 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003156/2.109, allocations: 484.7 kB / 2.148 GB, free: 15.45 MB / 1.529 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007078/2.116, allocations: 3.163 MB / 2.151 GB, free: 12.27 MB / 1.529 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/2.116, allocations: 17.11 kB / 2.151 GB, free: 12.25 MB / 1.529 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/2.116, allocations: 4 kB / 2.151 GB, free: 12.25 MB / 1.529 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/2.116, allocations: 15.91 kB / 2.151 GB, free: 12.23 MB / 1.529 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01063/2.127, allocations: 3.107 MB / 2.154 GB, free: 9.082 MB / 1.529 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.212e-05/2.127, allocations: 0 / 2.154 GB, free: 9.082 MB / 1.529 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/2.128, allocations: 183.7 kB / 2.154 GB, free: 8.902 MB / 1.529 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005679/2.128, allocations: 76.78 kB / 2.154 GB, free: 8.824 MB / 1.529 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002839/2.128, allocations: 35.97 kB / 2.154 GB, free: 8.789 MB / 1.529 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002275/2.131, allocations: 1.552 MB / 2.156 GB, free: 7.125 MB / 1.529 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/2.131, allocations: 0 / 2.156 GB, free: 7.125 MB / 1.529 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008149/2.139, allocations: 2.858 MB / 2.158 GB, free: 4.234 MB / 1.529 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005929/2.145, allocations: 1.886 MB / 2.16 GB, free: 2.344 MB / 1.529 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002516/2.147, allocations: 28 kB / 2.16 GB, free: 2.316 MB / 1.529 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004203/2.152, allocations: 411.9 kB / 2.161 GB, free: 1.914 MB / 1.529 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000443/2.152, allocations: 104.8 kB / 2.161 GB, free: 1.809 MB / 1.529 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002355/2.152, allocations: 59.97 kB / 2.161 GB, free: 1.75 MB / 1.529 GB Notification: Performance of sorting global known variables: time 0.9391/3.091, allocations: 251.5 MB / 2.407 GB, free: 383.5 MB / 1.561 GB Notification: Performance of sort global known variables: time 3.4e-07/3.091, allocations: 0 / 2.407 GB, free: 383.5 MB / 1.561 GB Notification: Performance of remove unused functions: time 0.006219/3.098, allocations: 1.424 MB / 2.408 GB, free: 382.3 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.01033/3.108, allocations: 4.317 MB / 2.412 GB, free: 378.7 MB / 1.561 GB Notification: Performance of simCode: created initialization part: time 0.004024/3.112, allocations: 3.241 MB / 2.415 GB, free: 375.4 MB / 1.561 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/3.112, allocations: 7.938 kB / 2.415 GB, free: 375.4 MB / 1.561 GB Notification: Performance of simCode: created simulation system equations: time 0.001614/3.114, allocations: 1.442 MB / 2.417 GB, free: 373.9 MB / 1.561 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005323/3.119, allocations: 0.6112 MB / 2.417 GB, free: 373.4 MB / 1.561 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.299/5.418, allocations: 1.258 GB / 3.675 GB, free: 306.6 MB / 1.576 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004792/5.422, allocations: 2.485 MB / 3.677 GB, free: 304.1 MB / 1.576 GB Notification: Performance of simCode: alias equations: time 0.005459/5.428, allocations: 1.696 MB / 3.679 GB, free: 302.5 MB / 1.576 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005547/5.433, allocations: 2.354 MB / 3.681 GB, free: 300.2 MB / 1.576 GB Notification: Performance of SimCode: time 1.703e-06/5.433, allocations: 4.547 kB / 3.681 GB, free: 300.2 MB / 1.576 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3313/5.765, allocations: 292.6 MB / 3.967 GB, free: 9.207 MB / 1.576 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.54/32.31, allocations: 14.56 kB / 3.967 GB, free: 9.195 MB / 1.576 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/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 299] Reference file matches [Calling sys.exit(0), Time elapsed: 41.159549523028545]