Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001701/0.001701, allocations: 109.5 kB / 19.73 MB, free: 2.238 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.001535/0.001535, allocations: 220 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.212/3.212, allocations: 0.49 GB / 0.7959 GB, free: 33.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_12_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.002089/0.002089, allocations: 66.31 kB / 1.155 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3486, allocations: 176.1 MB / 1.327 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01102/0.3596, allocations: 8.34 MB / 1.335 GB, free: 9.609 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1981/0.5578, allocations: 163.1 MB / 1.494 GB, free: 5.938 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001773/0.5595, allocations: 47.62 kB / 1.494 GB, free: 5.891 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.005671/0.5652, allocations: 2.198 MB / 1.496 GB, free: 3.684 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003812/0.569, allocations: 1.305 MB / 1.498 GB, free: 2.375 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003868/0.5729, allocations: 1.546 MB / 1.499 GB, free: 0.8359 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.006948/0.5798, allocations: 5.894 MB / 1.505 GB, free: 10.93 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001497/0.5813, allocations: 0.7539 MB / 1.506 GB, free: 10.13 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00287/0.5842, allocations: 1.734 MB / 1.507 GB, free: 8.391 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002771/0.587, allocations: 1.64 MB / 1.509 GB, free: 6.746 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0006215/0.5876, allocations: 280 kB / 1.509 GB, free: 6.473 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005296/0.5929, allocations: 2.875 MB / 1.512 GB, free: 3.594 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.003244/0.5961, allocations: 3.095 MB / 1.515 GB, free: 0.4922 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.004591/0.6007, allocations: 2.951 MB / 1.518 GB, free: 13.53 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0152/0.6159, allocations: 10.96 MB / 1.528 GB, free: 2.531 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.6159, allocations: 0 / 1.528 GB, free: 2.531 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6159, allocations: 0 / 1.528 GB, free: 2.531 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0002677/0.6162, allocations: 0 / 1.528 GB, free: 2.531 MB / 1.217 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.02132/0.6375, allocations: 8.41 MB / 1.537 GB, free: 10.04 MB / 1.233 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.6376, allocations: 16.02 kB / 1.537 GB, free: 10.02 MB / 1.233 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.319e-05/0.6376, allocations: 35.11 kB / 1.537 GB, free: 9.984 MB / 1.233 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004603/0.6381, allocations: 227.8 kB / 1.537 GB, free: 9.75 MB / 1.233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004721/0.6428, allocations: 0.7001 MB / 1.538 GB, free: 9.047 MB / 1.233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8567/1.5, allocations: 276.1 MB / 1.807 GB, free: 95.66 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/1.5, allocations: 138.9 kB / 1.807 GB, free: 95.53 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005017/1.5, allocations: 188 kB / 1.808 GB, free: 95.34 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003485/1.504, allocations: 1.96 MB / 1.81 GB, free: 93.3 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.055e-05/1.504, allocations: 4 kB / 1.81 GB, free: 93.3 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001933/1.504, allocations: 63.5 kB / 1.81 GB, free: 93.24 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/1.504, allocations: 36 kB / 1.81 GB, free: 93.21 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002768/1.507, allocations: 1.994 MB / 1.812 GB, free: 91.21 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04467/1.551, allocations: 70.37 MB / 1.88 GB, free: 20.59 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003004/1.554, allocations: 1.583 MB / 1.882 GB, free: 19 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/1.556, allocations: 0.8981 MB / 1.883 GB, free: 18.1 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/1.556, allocations: 40.92 kB / 1.883 GB, free: 18.06 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001631/1.557, allocations: 1.203 MB / 1.884 GB, free: 16.84 MB / 1.295 GB Notification: Performance of pre-optimization done (n=117): time 4.188e-06/1.557, allocations: 0 / 1.884 GB, free: 16.84 MB / 1.295 GB Notification: Performance of matching and sorting (n=117): time 0.008277/1.566, allocations: 3.669 MB / 1.888 GB, free: 13.15 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001698/1.566, allocations: 346.5 kB / 1.888 GB, free: 12.77 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4042/1.97, allocations: 316 MB / 2.196 GB, free: 0.7617 MB / 1.592 GB Notification: Performance of collectPreVariables (initialization): time 0.0004332/1.97, allocations: 61.7 kB / 2.196 GB, free: 0.6953 MB / 1.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.003487/1.974, allocations: 2.249 MB / 2.199 GB, free: 14.44 MB / 1.608 GB Notification: Performance of collectInitialBindings (initialization): time 0.000605/1.974, allocations: 412.5 kB / 2.199 GB, free: 14.04 MB / 1.608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007805/1.975, allocations: 459.4 kB / 2.199 GB, free: 13.58 MB / 1.608 GB Notification: Performance of setup shared object (initialization): time 0.0001298/1.975, allocations: 309.1 kB / 2.2 GB, free: 13.28 MB / 1.608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002356/1.978, allocations: 1.525 MB / 2.201 GB, free: 11.75 MB / 1.608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002623/1.98, allocations: 1.837 MB / 2.203 GB, free: 9.824 MB / 1.608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004725/1.985, allocations: 3.232 MB / 2.206 GB, free: 6.508 MB / 1.608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/1.985, allocations: 0 / 2.206 GB, free: 6.508 MB / 1.608 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.009588/1.995, allocations: 4.329 MB / 2.21 GB, free: 2.16 MB / 1.608 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002142/1.995, allocations: 169.6 kB / 2.211 GB, free: 1.988 MB / 1.608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/1.995, allocations: 4 kB / 2.211 GB, free: 1.984 MB / 1.608 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006436/1.996, allocations: 93.08 kB / 2.211 GB, free: 1.891 MB / 1.608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/1.997, allocations: 391.4 kB / 2.211 GB, free: 1.508 MB / 1.608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/1.999, allocations: 1.544 MB / 2.213 GB, free: 15.84 MB / 1.623 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004308/2.004, allocations: 0.6448 MB / 2.213 GB, free: 15.2 MB / 1.623 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000354/2.004, allocations: 91.95 kB / 2.213 GB, free: 15.11 MB / 1.623 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.004077/2.008, allocations: 2.168 MB / 2.215 GB, free: 12.93 MB / 1.623 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002853/2.011, allocations: 484.7 kB / 2.216 GB, free: 12.45 MB / 1.623 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006715/2.018, allocations: 3.398 MB / 2.219 GB, free: 9.039 MB / 1.623 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/2.018, allocations: 12 kB / 2.219 GB, free: 9.027 MB / 1.623 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/2.018, allocations: 4 kB / 2.219 GB, free: 9.023 MB / 1.623 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/2.018, allocations: 7.922 kB / 2.219 GB, free: 9.016 MB / 1.623 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009111/2.027, allocations: 4.07 MB / 2.223 GB, free: 4.902 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/2.027, allocations: 0 / 2.223 GB, free: 4.902 MB / 1.623 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009139/2.028, allocations: 183.8 kB / 2.223 GB, free: 4.723 MB / 1.623 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005082/2.028, allocations: 76.78 kB / 2.223 GB, free: 4.645 MB / 1.623 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002038/2.029, allocations: 43.97 kB / 2.223 GB, free: 4.602 MB / 1.623 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002158/2.031, allocations: 1.561 MB / 2.225 GB, free: 2.922 MB / 1.623 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/2.031, allocations: 1.688 kB / 2.225 GB, free: 2.922 MB / 1.623 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6917/2.722, allocations: 3.081 MB / 2.228 GB, free: 0.5912 GB / 1.623 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005677/2.728, allocations: 1.721 MB / 2.23 GB, free: 0.5912 GB / 1.623 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002767/2.731, allocations: 30.36 kB / 2.23 GB, free: 0.5912 GB / 1.623 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004255/2.735, allocations: 416.2 kB / 2.23 GB, free: 0.5912 GB / 1.623 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003793/2.735, allocations: 101.2 kB / 2.23 GB, free: 0.5912 GB / 1.623 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001646/2.736, allocations: 62.08 kB / 2.23 GB, free: 0.5912 GB / 1.623 GB Notification: Performance of sorting global known variables: time 0.1752/2.911, allocations: 251.6 MB / 2.476 GB, free: 378.9 MB / 1.623 GB Notification: Performance of sort global known variables: time 5.31e-07/2.911, allocations: 4 kB / 2.476 GB, free: 378.9 MB / 1.623 GB Notification: Performance of remove unused functions: time 0.006202/2.917, allocations: 1.424 MB / 2.477 GB, free: 377.6 MB / 1.623 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.01047/2.927, allocations: 4.53 MB / 2.482 GB, free: 373.7 MB / 1.623 GB Notification: Performance of simCode: created initialization part: time 0.004487/2.932, allocations: 3.335 MB / 2.485 GB, free: 370.3 MB / 1.623 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/2.932, allocations: 0 / 2.485 GB, free: 370.3 MB / 1.623 GB Notification: Performance of simCode: created simulation system equations: time 0.001805/2.934, allocations: 1.533 MB / 2.487 GB, free: 368.8 MB / 1.623 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005707/2.939, allocations: 0.6208 MB / 2.487 GB, free: 368.2 MB / 1.623 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.276/5.216, allocations: 1.258 GB / 3.745 GB, free: 326.7 MB / 1.623 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003449/5.219, allocations: 3.019 MB / 3.748 GB, free: 323.7 MB / 1.623 GB Notification: Performance of simCode: alias equations: time 0.004599/5.224, allocations: 1.69 MB / 3.75 GB, free: 322.1 MB / 1.623 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004993/5.229, allocations: 2.364 MB / 3.752 GB, free: 319.8 MB / 1.623 GB Notification: Performance of SimCode: time 2.514e-06/5.229, allocations: 0 / 3.752 GB, free: 319.8 MB / 1.623 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3338/5.562, allocations: 288.7 MB / 4.034 GB, free: 32.73 MB / 1.623 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.71/33.27, allocations: 8.062 kB / 4.034 GB, free: 32.72 MB / 1.623 GB " [Timeout remaining time 266] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.50641614000779]