Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008755/0.008756, allocations: 100.8 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 188 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.377/2.377, allocations: 390.3 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 62.31 kB / 0.9504 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2701, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.008777/0.2789, allocations: 6.988 MB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1686/0.4476, allocations: 159.4 MB / 1.25 GB, free: 10.97 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001337/0.449, allocations: 43.81 kB / 1.25 GB, free: 10.93 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004885/0.4539, allocations: 1.969 MB / 1.252 GB, free: 8.953 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003176/0.4571, allocations: 1.185 MB / 1.253 GB, free: 7.766 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003486/0.4606, allocations: 1.444 MB / 1.254 GB, free: 6.328 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00608/0.4667, allocations: 5.241 MB / 1.26 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6287/1.095, allocations: 1.173 MB / 1.261 GB, free: 5.555 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003484/1.099, allocations: 1.665 MB / 1.262 GB, free: 5.555 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003322/1.102, allocations: 1.464 MB / 1.264 GB, free: 5.555 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0009904/1.103, allocations: 280.2 kB / 1.264 GB, free: 5.555 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00506/1.108, allocations: 2.356 MB / 1.266 GB, free: 5.555 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003934/1.112, allocations: 3.015 MB / 1.269 GB, free: 5.555 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.006469/1.119, allocations: 2.901 MB / 1.272 GB, free: 4.941 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01592/1.135, allocations: 10.74 MB / 1.283 GB, free: 3.867 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/1.135, allocations: 3.938 kB / 1.283 GB, free: 3.863 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.395e-06/1.135, allocations: 1.125 kB / 1.283 GB, free: 3.863 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002765/1.135, allocations: 1.062 kB / 1.283 GB, free: 3.863 MB / 1.014 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.02684/1.162, allocations: 8.234 MB / 1.291 GB, free: 1.008 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/1.162, allocations: 11.34 kB / 1.291 GB, free: 1.008 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004075/1.162, allocations: 222.2 kB / 1.291 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00429/1.167, allocations: 0.5952 MB / 1.291 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2898/1.457, allocations: 279.9 MB / 1.565 GB, free: 4.324 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/1.457, allocations: 138.9 kB / 1.565 GB, free: 4.188 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007392/1.458, allocations: 188.9 kB / 1.565 GB, free: 4.004 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004062/1.462, allocations: 1.964 MB / 1.567 GB, free: 1.973 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.509e-05/1.462, allocations: 4.625 kB / 1.567 GB, free: 1.973 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002056/1.462, allocations: 60 kB / 1.567 GB, free: 1.914 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.828e-05/1.462, allocations: 37.12 kB / 1.567 GB, free: 1.879 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004759/1.467, allocations: 1.983 MB / 1.569 GB, free: 15.9 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09569/1.562, allocations: 69.85 MB / 1.637 GB, free: 10.09 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005051/1.568, allocations: 1.778 MB / 1.639 GB, free: 8.328 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002448/1.57, allocations: 1.088 MB / 1.64 GB, free: 7.242 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002172/1.57, allocations: 36.86 kB / 1.64 GB, free: 7.219 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00286/1.573, allocations: 1.198 MB / 1.641 GB, free: 6.004 MB / 1.311 GB Notification: Performance of pre-optimization done (n=117): time 7.043e-06/1.573, allocations: 0.875 kB / 1.641 GB, free: 6.004 MB / 1.311 GB Notification: Performance of matching and sorting (n=117): time 0.01444/1.588, allocations: 3.689 MB / 1.645 GB, free: 2.289 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004278/1.588, allocations: 346.5 kB / 1.645 GB, free: 1.898 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.932/2.52, allocations: 316 MB / 1.954 GB, free: 498.4 MB / 1.467 GB Notification: Performance of collectPreVariables (initialization): time 0.0007504/2.521, allocations: 65.7 kB / 1.954 GB, free: 498.4 MB / 1.467 GB Notification: Performance of collectInitialEqns (initialization): time 0.004064/2.525, allocations: 2.228 MB / 1.956 GB, free: 496.4 MB / 1.467 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006779/2.526, allocations: 385.8 kB / 1.956 GB, free: 496.2 MB / 1.467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000847/2.527, allocations: 461 kB / 1.957 GB, free: 495.8 MB / 1.467 GB Notification: Performance of setup shared object (initialization): time 6.463e-05/2.527, allocations: 301.1 kB / 1.957 GB, free: 495.5 MB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001904/2.529, allocations: 1.529 MB / 1.959 GB, free: 493.9 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001953/2.531, allocations: 1.832 MB / 1.96 GB, free: 492 MB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00341/2.534, allocations: 3.232 MB / 1.964 GB, free: 488.7 MB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/2.534, allocations: 0 / 1.964 GB, free: 488.7 MB / 1.467 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.009675/2.544, allocations: 4.294 MB / 1.968 GB, free: 484.5 MB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001388/2.544, allocations: 165.6 kB / 1.968 GB, free: 484.3 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/2.544, allocations: 9.75 kB / 1.968 GB, free: 484.3 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006031/2.544, allocations: 87 kB / 1.968 GB, free: 484.2 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/2.546, allocations: 389.8 kB / 1.968 GB, free: 483.8 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/2.548, allocations: 1.642 MB / 1.97 GB, free: 482 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004969/2.553, allocations: 0.6317 MB / 1.971 GB, free: 481.4 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004283/2.553, allocations: 83.97 kB / 1.971 GB, free: 481.3 MB / 1.467 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.003862/2.557, allocations: 2.168 MB / 1.973 GB, free: 479.1 MB / 1.467 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004348/2.561, allocations: 461.9 kB / 1.973 GB, free: 478.7 MB / 1.467 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006634/2.568, allocations: 3.374 MB / 1.977 GB, free: 475.3 MB / 1.467 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/2.568, allocations: 12 kB / 1.977 GB, free: 475.3 MB / 1.467 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/2.568, allocations: 3.969 kB / 1.977 GB, free: 475.3 MB / 1.467 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/2.568, allocations: 3.984 kB / 1.977 GB, free: 475.3 MB / 1.467 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009346/2.577, allocations: 4.092 MB / 1.981 GB, free: 471.2 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.747e-05/2.578, allocations: 0 / 1.981 GB, free: 471.2 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008401/2.578, allocations: 191.7 kB / 1.981 GB, free: 471 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004335/2.579, allocations: 72.62 kB / 1.981 GB, free: 470.9 MB / 1.467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001914/2.579, allocations: 39.97 kB / 1.981 GB, free: 470.9 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001496/2.581, allocations: 1.654 MB / 1.982 GB, free: 469.1 MB / 1.467 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/2.581, allocations: 0 / 1.982 GB, free: 469.1 MB / 1.467 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009491/2.59, allocations: 3.031 MB / 1.985 GB, free: 466 MB / 1.467 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005532/2.596, allocations: 1.775 MB / 1.987 GB, free: 464.2 MB / 1.467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003028/2.599, allocations: 35.84 kB / 1.987 GB, free: 464.2 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003538/2.602, allocations: 417.6 kB / 1.988 GB, free: 463.8 MB / 1.467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002707/2.602, allocations: 100.9 kB / 1.988 GB, free: 463.7 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/2.603, allocations: 55.97 kB / 1.988 GB, free: 463.6 MB / 1.467 GB Notification: Performance of sorting global known variables: time 0.1694/2.772, allocations: 251.5 MB / 2.233 GB, free: 212.1 MB / 1.467 GB Notification: Performance of sort global known variables: time 1.333e-06/2.772, allocations: 0 / 2.233 GB, free: 212.1 MB / 1.467 GB Notification: Performance of remove unused functions: time 0.008013/2.78, allocations: 1.384 MB / 2.235 GB, free: 210.8 MB / 1.467 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.0138/2.794, allocations: 4.456 MB / 2.239 GB, free: 206.7 MB / 1.467 GB Notification: Performance of simCode: created initialization part: time 0.005522/2.8, allocations: 4.335 MB / 2.243 GB, free: 202.3 MB / 1.467 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/2.8, allocations: 0 / 2.243 GB, free: 202.3 MB / 1.467 GB Notification: Performance of simCode: created simulation system equations: time 0.001997/2.802, allocations: 1.899 MB / 2.245 GB, free: 200.4 MB / 1.467 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007112/2.809, allocations: 0.5992 MB / 2.246 GB, free: 199.8 MB / 1.467 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.176/4.985, allocations: 1.258 GB / 3.504 GB, free: 208.6 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004533/4.99, allocations: 3.009 MB / 3.506 GB, free: 205.6 MB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.005595/4.995, allocations: 1.688 MB / 3.508 GB, free: 204.1 MB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006717/5.002, allocations: 2.346 MB / 3.51 GB, free: 201.7 MB / 1.467 GB Notification: Performance of SimCode: time 1.242e-06/5.002, allocations: 0 / 3.51 GB, free: 201.7 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.1/6.102, allocations: 272.8 MB / 3.777 GB, free: 0.567 GB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.75/29.85, allocations: 9.969 kB / 3.777 GB, free: 0.567 GB / 1.467 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches