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.001309/0.001309, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001572/0.001572, allocations: 217 kB / 22.25 MB, free: 4.855 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 7.789 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.777/2.777, allocations: 476 MB / 0.7699 GB, free: 4.746 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="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: 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.002247/0.002247, allocations: 72.73 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3289, allocations: 170 MB / 1.283 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01392/0.3428, allocations: 7.275 MB / 1.29 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1955/0.5383, allocations: 140.8 MB / 1.427 GB, free: 7.848 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001792/0.5401, allocations: 55.56 kB / 1.427 GB, free: 7.793 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.006153/0.5463, allocations: 2.094 MB / 1.429 GB, free: 5.691 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004205/0.5505, allocations: 1.303 MB / 1.431 GB, free: 4.387 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004182/0.5547, allocations: 1.499 MB / 1.432 GB, free: 2.895 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.007786/0.5624, allocations: 5.789 MB / 1.438 GB, free: 13.09 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002007/0.5645, allocations: 0.7227 MB / 1.438 GB, free: 12.32 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0035/0.568, allocations: 1.753 MB / 1.44 GB, free: 10.56 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00298/0.5709, allocations: 1.525 MB / 1.442 GB, free: 9.031 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0009485/0.5719, allocations: 280 kB / 1.442 GB, free: 8.758 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00538/0.5773, allocations: 2.598 MB / 1.444 GB, free: 6.156 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.003564/0.5808, allocations: 3.088 MB / 1.447 GB, free: 3.062 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.004351/0.5852, allocations: 2.372 MB / 1.45 GB, free: 0.6797 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01538/0.6006, allocations: 10.98 MB / 1.46 GB, free: 5.668 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.6006, allocations: 0 / 1.46 GB, free: 5.668 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.494e-06/0.6006, allocations: 0 / 1.46 GB, free: 5.668 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0002647/0.6008, allocations: 4 kB / 1.46 GB, free: 5.664 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.02413/0.625, allocations: 8.544 MB / 1.469 GB, free: 13.04 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.625, allocations: 8.031 kB / 1.469 GB, free: 13.03 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005181/0.6255, allocations: 223.9 kB / 1.469 GB, free: 12.8 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004552/0.6301, allocations: 0.6962 MB / 1.47 GB, free: 12.1 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8969/1.527, allocations: 276.2 MB / 1.739 GB, free: 195.4 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.225e-05/1.527, allocations: 138.9 kB / 1.739 GB, free: 195.3 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002279/1.527, allocations: 180 kB / 1.74 GB, free: 195.1 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002582/1.53, allocations: 2.169 MB / 1.742 GB, free: 192.8 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/1.53, allocations: 4 kB / 1.742 GB, free: 192.8 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/1.53, allocations: 63.38 kB / 1.742 GB, free: 192.8 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/1.53, allocations: 36 kB / 1.742 GB, free: 192.7 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/1.532, allocations: 1.89 MB / 1.744 GB, free: 190.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.04309/1.575, allocations: 68.75 MB / 1.811 GB, free: 122 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00301/1.578, allocations: 1.548 MB / 1.812 GB, free: 120.4 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/1.58, allocations: 0.8761 MB / 1.813 GB, free: 119.5 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-05/1.58, allocations: 32.97 kB / 1.813 GB, free: 119.5 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001562/1.581, allocations: 1.266 MB / 1.814 GB, free: 118.2 MB / 1.295 GB Notification: Performance of pre-optimization done (n=117): time 4.438e-06/1.581, allocations: 1.422 kB / 1.814 GB, free: 118.2 MB / 1.295 GB Notification: Performance of matching and sorting (n=117): time 0.008037/1.589, allocations: 3.454 MB / 1.818 GB, free: 114.7 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/1.589, allocations: 318.5 kB / 1.818 GB, free: 114.3 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4011/1.991, allocations: 316 MB / 2.127 GB, free: 6.312 MB / 1.498 GB Notification: Performance of collectPreVariables (initialization): time 0.0004604/1.991, allocations: 65.7 kB / 2.127 GB, free: 6.242 MB / 1.498 GB Notification: Performance of collectInitialEqns (initialization): time 0.00402/1.995, allocations: 2.25 MB / 2.129 GB, free: 3.984 MB / 1.498 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006406/1.996, allocations: 396.7 kB / 2.129 GB, free: 3.594 MB / 1.498 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001148/1.997, allocations: 463.4 kB / 2.13 GB, free: 3.137 MB / 1.498 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.997, allocations: 309.1 kB / 2.13 GB, free: 2.832 MB / 1.498 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00262/2, allocations: 1.505 MB / 2.132 GB, free: 1.32 MB / 1.498 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002935/2.003, allocations: 1.932 MB / 2.133 GB, free: 15.25 MB / 1.514 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004725/2.007, allocations: 2.892 MB / 2.136 GB, free: 12.28 MB / 1.514 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/2.007, allocations: 0 / 2.136 GB, free: 12.28 MB / 1.514 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.009669/2.017, allocations: 4.131 MB / 2.14 GB, free: 8.117 MB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001913/2.017, allocations: 141.6 kB / 2.14 GB, free: 7.973 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/2.017, allocations: 4 kB / 2.14 GB, free: 7.969 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006609/2.018, allocations: 101 kB / 2.141 GB, free: 7.867 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/2.019, allocations: 389.7 kB / 2.141 GB, free: 7.488 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0024/2.022, allocations: 1.541 MB / 2.142 GB, free: 5.828 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004539/2.026, allocations: 0.6404 MB / 2.143 GB, free: 5.188 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004241/2.027, allocations: 89.97 kB / 2.143 GB, free: 5.102 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.004507/2.031, allocations: 2.142 MB / 2.145 GB, free: 2.945 MB / 1.514 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002831/2.034, allocations: 480.7 kB / 2.146 GB, free: 2.473 MB / 1.514 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007113/2.041, allocations: 3.181 MB / 2.149 GB, free: 15.27 MB / 1.529 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/2.041, allocations: 8 kB / 2.149 GB, free: 15.27 MB / 1.529 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/2.041, allocations: 4 kB / 2.149 GB, free: 15.26 MB / 1.529 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/2.041, allocations: 7.922 kB / 2.149 GB, free: 15.25 MB / 1.529 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00745/2.049, allocations: 3.099 MB / 2.152 GB, free: 12.11 MB / 1.529 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/2.049, allocations: 0 / 2.152 GB, free: 12.11 MB / 1.529 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008391/2.05, allocations: 187.8 kB / 2.152 GB, free: 11.93 MB / 1.529 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004909/2.05, allocations: 76.72 kB / 2.152 GB, free: 11.85 MB / 1.529 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001672/2.05, allocations: 39.97 kB / 2.152 GB, free: 11.81 MB / 1.529 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002223/2.053, allocations: 1.544 MB / 2.154 GB, free: 10.15 MB / 1.529 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/2.053, allocations: 0 / 2.154 GB, free: 10.15 MB / 1.529 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007552/2.06, allocations: 2.853 MB / 2.156 GB, free: 7.258 MB / 1.529 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006006/2.066, allocations: 1.889 MB / 2.158 GB, free: 5.363 MB / 1.529 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002464/2.069, allocations: 25.55 kB / 2.158 GB, free: 5.34 MB / 1.529 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00428/2.073, allocations: 423.9 kB / 2.159 GB, free: 4.926 MB / 1.529 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003659/2.073, allocations: 100.8 kB / 2.159 GB, free: 4.824 MB / 1.529 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001983/2.073, allocations: 55.97 kB / 2.159 GB, free: 4.77 MB / 1.529 GB Notification: Performance of sorting global known variables: time 0.8242/2.898, allocations: 251.5 MB / 2.404 GB, free: 387.2 MB / 1.561 GB Notification: Performance of sort global known variables: time 2.6e-07/2.898, allocations: 0 / 2.404 GB, free: 387.2 MB / 1.561 GB Notification: Performance of remove unused functions: time 0.004934/2.902, allocations: 1.422 MB / 2.406 GB, free: 385.9 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.009278/2.912, allocations: 4.323 MB / 2.41 GB, free: 382.3 MB / 1.561 GB Notification: Performance of simCode: created initialization part: time 0.004231/2.916, allocations: 3.249 MB / 2.413 GB, free: 379.1 MB / 1.561 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/2.916, allocations: 4 kB / 2.413 GB, free: 379 MB / 1.561 GB Notification: Performance of simCode: created simulation system equations: time 0.001619/2.918, allocations: 1.45 MB / 2.415 GB, free: 377.6 MB / 1.561 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004691/2.922, allocations: 0.6093 MB / 2.415 GB, free: 377 MB / 1.561 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.21/5.133, allocations: 1.258 GB / 3.673 GB, free: 310.6 MB / 1.576 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004284/5.137, allocations: 2.492 MB / 3.675 GB, free: 308 MB / 1.576 GB Notification: Performance of simCode: alias equations: time 0.004971/5.142, allocations: 1.687 MB / 3.677 GB, free: 306.5 MB / 1.576 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004967/5.147, allocations: 2.358 MB / 3.679 GB, free: 304.1 MB / 1.576 GB Notification: Performance of SimCode: time 1.813e-06/5.147, allocations: 0 / 3.679 GB, free: 304.1 MB / 1.576 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3463/5.493, allocations: 294.1 MB / 3.967 GB, free: 11.6 MB / 1.576 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.37/27.86, allocations: 3.266 kB / 3.967 GB, free: 11.6 MB / 1.576 GB " [Timeout remaining time 271] (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 300] Reference file matches [Calling sys.exit(0), Time elapsed: 35.917293468955904]