Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.TransmittedRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",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.005151/0.005151, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001185/0.001185, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.71/2.71, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 67.84 kB / 1.054 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3021, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.009024/0.3111, allocations: 6.96 MB / 1.214 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8/1.111, allocations: 155.4 MB / 1.366 GB, free: 4.699 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/1.113, allocations: 24.91 kB / 1.366 GB, free: 4.691 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.005758/1.119, allocations: 1.807 MB / 1.368 GB, free: 3.957 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003228/1.122, allocations: 0.8851 MB / 1.368 GB, free: 3.434 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002888/1.125, allocations: 0.999 MB / 1.369 GB, free: 2.891 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004077/1.129, allocations: 2.584 MB / 1.372 GB, free: 1.629 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001883/1.131, allocations: 0.9347 MB / 1.373 GB, free: 1.133 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001977/1.133, allocations: 0.9155 MB / 1.374 GB, free: 0.7031 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001997/1.135, allocations: 0.9327 MB / 1.375 GB, free: 224 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0006706/1.135, allocations: 183.9 kB / 1.375 GB, free: 224 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005505/1.141, allocations: 2.257 MB / 1.377 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002079/1.143, allocations: 1.215 MB / 1.378 GB, free: 14.41 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003924/1.147, allocations: 1.428 MB / 1.38 GB, free: 13.36 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01074/1.158, allocations: 5.442 MB / 1.385 GB, free: 9.93 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/1.158, allocations: 4 kB / 1.385 GB, free: 9.926 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.084e-06/1.158, allocations: 0 / 1.385 GB, free: 9.926 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001543/1.158, allocations: 0 / 1.385 GB, free: 9.926 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.01296/1.171, allocations: 3.97 MB / 1.389 GB, free: 7.23 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/1.171, allocations: 14.34 kB / 1.389 GB, free: 7.227 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004719/1.171, allocations: 189.6 kB / 1.389 GB, free: 7.074 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002276/1.174, allocations: 346 kB / 1.389 GB, free: 6.902 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08836/1.262, allocations: 87.64 MB / 1.475 GB, free: 4.895 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/1.262, allocations: 106.5 kB / 1.475 GB, free: 4.789 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004149/1.263, allocations: 132 kB / 1.475 GB, free: 4.66 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003206/1.266, allocations: 1.36 MB / 1.476 GB, free: 3.238 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.359e-05/1.266, allocations: 0 / 1.476 GB, free: 3.238 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001786/1.266, allocations: 52 kB / 1.477 GB, free: 3.188 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.742e-05/1.266, allocations: 39.75 kB / 1.477 GB, free: 3.152 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002582/1.269, allocations: 1.497 MB / 1.478 GB, free: 1.648 MB / 1.154 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.02401/1.293, allocations: 23.86 MB / 1.501 GB, free: 9.586 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002587/1.295, allocations: 1.125 MB / 1.502 GB, free: 8.461 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008115/1.296, allocations: 447.7 kB / 1.503 GB, free: 8.02 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/1.296, allocations: 32.95 kB / 1.503 GB, free: 7.988 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001196/1.298, allocations: 0.6529 MB / 1.504 GB, free: 7.316 MB / 1.186 GB Notification: Performance of pre-optimization done (n=100): time 5.53e-06/1.298, allocations: 4 kB / 1.504 GB, free: 7.312 MB / 1.186 GB Notification: Performance of matching and sorting (n=100): time 0.005143/1.303, allocations: 1.737 MB / 1.505 GB, free: 5.547 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/1.303, allocations: 196.9 kB / 1.505 GB, free: 5.309 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1053/1.408, allocations: 99.41 MB / 1.603 GB, free: 1.855 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0003137/1.409, allocations: 53.69 kB / 1.603 GB, free: 1.797 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001413/1.41, allocations: 1.061 MB / 1.604 GB, free: 0.7305 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004566/1.411, allocations: 323.3 kB / 1.604 GB, free: 420 kB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005326/1.411, allocations: 246.7 kB / 1.604 GB, free: 168 kB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001542/1.411, allocations: 345.9 kB / 1.604 GB, free: 15.82 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009511/1.412, allocations: 0.4899 MB / 1.605 GB, free: 15.33 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/1.413, allocations: 0.6284 MB / 1.606 GB, free: 14.67 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/1.415, allocations: 0.9946 MB / 1.607 GB, free: 13.66 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/1.415, allocations: 4 kB / 1.607 GB, free: 13.65 MB / 1.295 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003942/1.419, allocations: 1.507 MB / 1.608 GB, free: 12.13 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/1.419, allocations: 4 kB / 1.608 GB, free: 12.13 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/1.419, allocations: 4 kB / 1.608 GB, free: 12.12 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006174/1.42, allocations: 88.73 kB / 1.608 GB, free: 12.04 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009707/1.421, allocations: 235.7 kB / 1.608 GB, free: 11.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/1.423, allocations: 1.632 MB / 1.61 GB, free: 10.03 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/1.425, allocations: 283.7 kB / 1.61 GB, free: 9.754 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/1.425, allocations: 43.98 kB / 1.61 GB, free: 9.711 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (138): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * 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.001547/1.426, allocations: 0.8078 MB / 1.611 GB, free: 8.895 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001278/1.428, allocations: 217.2 kB / 1.611 GB, free: 8.68 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003826/1.432, allocations: 1.633 MB / 1.613 GB, free: 7.035 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/1.432, allocations: 8 kB / 1.613 GB, free: 7.027 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/1.432, allocations: 4 kB / 1.613 GB, free: 7.023 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/1.432, allocations: 7.969 kB / 1.613 GB, free: 7.016 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003848/1.435, allocations: 1.96 MB / 1.615 GB, free: 5.004 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/1.435, allocations: 7.984 kB / 1.615 GB, free: 4.996 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007671/1.436, allocations: 183.7 kB / 1.615 GB, free: 4.816 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004677/1.437, allocations: 68.78 kB / 1.615 GB, free: 4.746 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.058e-05/1.437, allocations: 31.98 kB / 1.615 GB, free: 4.715 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001871/1.439, allocations: 1.662 MB / 1.617 GB, free: 2.91 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.439, allocations: 3.938 kB / 1.617 GB, free: 2.906 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003406/1.442, allocations: 1.357 MB / 1.618 GB, free: 1.523 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001915/1.444, allocations: 0.7707 MB / 1.619 GB, free: 0.7305 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007467/1.445, allocations: 23.98 kB / 1.619 GB, free: 0.707 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001589/1.446, allocations: 179.9 kB / 1.619 GB, free: 0.5312 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/1.447, allocations: 84.88 kB / 1.619 GB, free: 460 kB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.462e-05/1.447, allocations: 47.97 kB / 1.619 GB, free: 412 kB / 1.295 GB Notification: Performance of sorting global known variables: time 0.07124/1.518, allocations: 79.4 MB / 1.697 GB, free: 0.9688 MB / 1.373 GB Notification: Performance of sort global known variables: time 5.31e-07/1.518, allocations: 0 / 1.697 GB, free: 0.9688 MB / 1.373 GB Notification: Performance of remove unused functions: time 0.004052/1.522, allocations: 1.014 MB / 1.698 GB, free: 15.95 MB / 1.389 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 (115): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * 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.007166/1.529, allocations: 2.768 MB / 1.7 GB, free: 13.34 MB / 1.389 GB Notification: Performance of simCode: created initialization part: time 0.002556/1.532, allocations: 1.243 MB / 1.702 GB, free: 12.09 MB / 1.389 GB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/1.532, allocations: 12.25 kB / 1.702 GB, free: 12.07 MB / 1.389 GB Notification: Performance of simCode: created simulation system equations: time 0.001212/1.533, allocations: 0.668 MB / 1.702 GB, free: 11.39 MB / 1.389 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003331/1.536, allocations: 421.1 kB / 1.703 GB, free: 11 MB / 1.389 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9491/2.486, allocations: 407 MB / 2.1 GB, free: 279.4 MB / 1.482 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/2.487, allocations: 1.719 MB / 2.102 GB, free: 277.7 MB / 1.482 GB Notification: Performance of simCode: alias equations: time 0.002276/2.489, allocations: 0.7799 MB / 2.102 GB, free: 277 MB / 1.482 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001771/2.491, allocations: 1.1 MB / 2.104 GB, free: 275.9 MB / 1.482 GB Notification: Performance of SimCode: time 1.002e-06/2.491, allocations: 4 kB / 2.104 GB, free: 275.9 MB / 1.482 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.255/2.746, allocations: 109.4 MB / 2.21 GB, free: 167.8 MB / 1.482 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.52/19.27, allocations: 12.81 kB / 2.21 GB, free: 167.8 MB / 1.482 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches