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.001762/0.001762, allocations: 113 kB / 19.73 MB, free: 2.242 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.002296/0.002296, allocations: 215 kB / 23.04 MB, free: 5.078 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.949/2.949, allocations: 476.7 MB / 0.7715 GB, free: 4.34 MB / 0.6231 GB " [Timeout remaining time 176] 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.0021/0.0021, allocations: 66.22 kB / 1.118 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3104, allocations: 170 MB / 1.284 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01137/0.3218, allocations: 8.335 MB / 1.292 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2081/0.5299, allocations: 163 MB / 1.452 GB, free: 15.74 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00174/0.5316, allocations: 47.62 kB / 1.452 GB, free: 15.69 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.006013/0.5377, allocations: 2.194 MB / 1.454 GB, free: 13.49 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004162/0.5418, allocations: 1.302 MB / 1.455 GB, free: 12.18 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004212/0.546, allocations: 1.555 MB / 1.457 GB, free: 10.64 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.007624/0.5537, allocations: 5.906 MB / 1.462 GB, free: 4.711 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001933/0.5556, allocations: 0.7423 MB / 1.463 GB, free: 3.922 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003414/0.559, allocations: 1.734 MB / 1.465 GB, free: 2.184 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003169/0.5622, allocations: 1.643 MB / 1.466 GB, free: 0.5352 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001051/0.5632, allocations: 280 kB / 1.467 GB, free: 268 kB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006266/0.5695, allocations: 2.871 MB / 1.469 GB, free: 13.39 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.003831/0.5733, allocations: 3.099 MB / 1.472 GB, free: 10.28 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.005541/0.5789, allocations: 2.947 MB / 1.475 GB, free: 7.32 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01647/0.5953, allocations: 10.96 MB / 1.486 GB, free: 12.33 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.5953, allocations: 0 / 1.486 GB, free: 12.33 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5953, allocations: 0 / 1.486 GB, free: 12.33 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0002689/0.5956, allocations: 4 kB / 1.486 GB, free: 12.32 MB / 1.186 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.02294/0.6185, allocations: 8.408 MB / 1.494 GB, free: 3.836 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.6186, allocations: 12.03 kB / 1.494 GB, free: 3.824 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.22e-05/0.6186, allocations: 43.11 kB / 1.494 GB, free: 3.781 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003787/0.619, allocations: 219.9 kB / 1.494 GB, free: 3.555 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004702/0.6237, allocations: 0.6963 MB / 1.495 GB, free: 2.855 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.023/1.647, allocations: 276.1 MB / 1.765 GB, free: 169.4 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/1.647, allocations: 138.9 kB / 1.765 GB, free: 169.3 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005732/1.648, allocations: 188 kB / 1.765 GB, free: 169.1 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003632/1.651, allocations: 1.96 MB / 1.767 GB, free: 167.1 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.006e-05/1.651, allocations: 4 kB / 1.767 GB, free: 167.1 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002019/1.652, allocations: 64.8 kB / 1.767 GB, free: 167 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/1.652, allocations: 36 kB / 1.767 GB, free: 167 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002751/1.654, allocations: 1.986 MB / 1.769 GB, free: 165 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.0442/1.698, allocations: 70.27 MB / 1.838 GB, free: 94.48 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002957/1.701, allocations: 1.579 MB / 1.839 GB, free: 92.9 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/1.703, allocations: 0.9057 MB / 1.84 GB, free: 91.99 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/1.703, allocations: 37.09 kB / 1.84 GB, free: 91.95 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001694/1.704, allocations: 1.195 MB / 1.841 GB, free: 90.74 MB / 1.295 GB Notification: Performance of pre-optimization done (n=117): time 3.045e-06/1.704, allocations: 7.562 kB / 1.841 GB, free: 90.73 MB / 1.295 GB Notification: Performance of matching and sorting (n=117): time 0.008029/1.713, allocations: 3.679 MB / 1.845 GB, free: 87.04 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001576/1.713, allocations: 342.5 kB / 1.845 GB, free: 86.66 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3769/2.09, allocations: 316 MB / 2.154 GB, free: 10.66 MB / 1.529 GB Notification: Performance of collectPreVariables (initialization): time 0.0007677/2.09, allocations: 65.7 kB / 2.154 GB, free: 10.59 MB / 1.529 GB Notification: Performance of collectInitialEqns (initialization): time 0.00418/2.095, allocations: 2.25 MB / 2.156 GB, free: 8.328 MB / 1.529 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006997/2.095, allocations: 404.5 kB / 2.156 GB, free: 7.93 MB / 1.529 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008314/2.096, allocations: 463 kB / 2.157 GB, free: 7.477 MB / 1.529 GB Notification: Performance of setup shared object (initialization): time 0.0001486/2.096, allocations: 305.1 kB / 2.157 GB, free: 7.176 MB / 1.529 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002474/2.099, allocations: 1.531 MB / 2.159 GB, free: 5.645 MB / 1.529 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00269/2.101, allocations: 1.835 MB / 2.16 GB, free: 3.715 MB / 1.529 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00498/2.106, allocations: 3.229 MB / 2.164 GB, free: 412 kB / 1.529 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/2.106, allocations: 0 / 2.164 GB, free: 412 kB / 1.529 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.01074/2.117, allocations: 4.333 MB / 2.168 GB, free: 12.05 MB / 1.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002196/2.117, allocations: 169.6 kB / 2.168 GB, free: 11.88 MB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/2.117, allocations: 4 kB / 2.168 GB, free: 11.87 MB / 1.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006495/2.118, allocations: 97.56 kB / 2.168 GB, free: 11.77 MB / 1.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/2.12, allocations: 387.4 kB / 2.168 GB, free: 11.39 MB / 1.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002475/2.122, allocations: 1.539 MB / 2.17 GB, free: 9.734 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0052/2.127, allocations: 0.6381 MB / 2.171 GB, free: 9.094 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004054/2.128, allocations: 87.97 kB / 2.171 GB, free: 9.008 MB / 1.545 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.004595/2.132, allocations: 2.173 MB / 2.173 GB, free: 6.82 MB / 1.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003503/2.136, allocations: 486.8 kB / 2.173 GB, free: 6.344 MB / 1.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007261/2.143, allocations: 3.4 MB / 2.177 GB, free: 2.918 MB / 1.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/2.143, allocations: 12 kB / 2.177 GB, free: 2.906 MB / 1.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/2.143, allocations: 0 / 2.177 GB, free: 2.906 MB / 1.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.829e-05/2.143, allocations: 7.922 kB / 2.177 GB, free: 2.898 MB / 1.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/2.153, allocations: 4.081 MB / 2.181 GB, free: 14.77 MB / 1.561 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/2.153, allocations: 0 / 2.181 GB, free: 14.77 MB / 1.561 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009541/2.154, allocations: 183.7 kB / 2.181 GB, free: 14.59 MB / 1.561 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004891/2.155, allocations: 72.78 kB / 2.181 GB, free: 14.52 MB / 1.561 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002084/2.155, allocations: 51.91 kB / 2.181 GB, free: 14.47 MB / 1.561 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00225/2.157, allocations: 1.555 MB / 2.182 GB, free: 12.8 MB / 1.561 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/2.157, allocations: 0 / 2.182 GB, free: 12.8 MB / 1.561 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007914/2.165, allocations: 3.089 MB / 2.185 GB, free: 9.684 MB / 1.561 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00548/2.171, allocations: 1.721 MB / 2.187 GB, free: 7.957 MB / 1.561 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002119/2.173, allocations: 27.98 kB / 2.187 GB, free: 7.93 MB / 1.561 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003987/2.177, allocations: 422.3 kB / 2.188 GB, free: 7.52 MB / 1.561 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003579/2.177, allocations: 96.83 kB / 2.188 GB, free: 7.422 MB / 1.561 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/2.177, allocations: 59.97 kB / 2.188 GB, free: 7.363 MB / 1.561 GB Notification: Performance of sorting global known variables: time 0.99/3.167, allocations: 251.5 MB / 2.433 GB, free: 356.8 MB / 1.561 GB Notification: Performance of sort global known variables: time 3.01e-07/3.167, allocations: 0 / 2.433 GB, free: 356.8 MB / 1.561 GB Notification: Performance of remove unused functions: time 0.005191/3.172, allocations: 1.427 MB / 2.435 GB, free: 355.6 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.009664/3.182, allocations: 4.528 MB / 2.439 GB, free: 351.7 MB / 1.561 GB Notification: Performance of simCode: created initialization part: time 0.00456/3.187, allocations: 3.339 MB / 2.442 GB, free: 348.4 MB / 1.561 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/3.187, allocations: 0 / 2.442 GB, free: 348.4 MB / 1.561 GB Notification: Performance of simCode: created simulation system equations: time 0.001774/3.188, allocations: 1.529 MB / 2.444 GB, free: 346.8 MB / 1.561 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005974/3.194, allocations: 0.6133 MB / 2.444 GB, free: 346.3 MB / 1.561 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.263/5.457, allocations: 1.258 GB / 3.702 GB, free: 277.6 MB / 1.576 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003292/5.46, allocations: 3.024 MB / 3.705 GB, free: 274.5 MB / 1.576 GB Notification: Performance of simCode: alias equations: time 0.003923/5.464, allocations: 1.685 MB / 3.707 GB, free: 273 MB / 1.576 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003947/5.468, allocations: 2.359 MB / 3.709 GB, free: 270.6 MB / 1.576 GB Notification: Performance of SimCode: time 8.02e-07/5.468, allocations: 0 / 3.709 GB, free: 270.6 MB / 1.576 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9768/6.445, allocations: 288.7 MB / 3.991 GB, free: 0.5699 GB / 1.576 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.62/33.07, allocations: 9.766 kB / 3.991 GB, free: 0.5699 GB / 1.576 GB " [Timeout remaining time 266] (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.438622431014664]