Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.WindowRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_latest_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.005419/0.005419, allocations: 103.3 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.001861/0.001861, allocations: 189 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.568/2.568, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 67.84 kB / 1.054 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8727/0.8741, allocations: 157.4 MB / 1.207 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01001/0.8841, allocations: 8.211 MB / 1.215 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1753/1.059, allocations: 159.5 MB / 1.371 GB, free: 5.258 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001757/1.061, allocations: 47.75 kB / 1.371 GB, free: 5.211 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.004649/1.066, allocations: 1.984 MB / 1.373 GB, free: 3.219 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002936/1.069, allocations: 1.279 MB / 1.374 GB, free: 1.938 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003322/1.072, allocations: 1.45 MB / 1.376 GB, free: 0.4961 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.005487/1.078, allocations: 5.446 MB / 1.381 GB, free: 11.04 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001508/1.079, allocations: 1.12 MB / 1.382 GB, free: 9.875 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002494/1.082, allocations: 1.699 MB / 1.384 GB, free: 8.172 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001785/1.084, allocations: 1.495 MB / 1.385 GB, free: 6.672 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003338/1.084, allocations: 276 kB / 1.386 GB, free: 6.402 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00367/1.088, allocations: 2.356 MB / 1.388 GB, free: 4.043 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.002155/1.09, allocations: 3.018 MB / 1.391 GB, free: 1.02 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.00304/1.093, allocations: 2.935 MB / 1.394 GB, free: 14.07 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01186/1.105, allocations: 10.82 MB / 1.404 GB, free: 3.227 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/1.105, allocations: 0 / 1.404 GB, free: 3.227 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.924e-06/1.105, allocations: 4 kB / 1.404 GB, free: 3.223 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001713/1.105, allocations: 0 / 1.404 GB, free: 3.223 MB / 1.123 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.02142/1.126, allocations: 8.258 MB / 1.412 GB, free: 10.87 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/1.126, allocations: 16.03 kB / 1.412 GB, free: 10.86 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004025/1.127, allocations: 223.9 kB / 1.412 GB, free: 10.62 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003502/1.13, allocations: 0.5956 MB / 1.413 GB, free: 10.02 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8839/2.014, allocations: 276 MB / 1.683 GB, free: 238.7 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/2.014, allocations: 138.9 kB / 1.683 GB, free: 238.6 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002738/2.015, allocations: 188 kB / 1.683 GB, free: 238.4 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002667/2.017, allocations: 1.956 MB / 1.685 GB, free: 236.3 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/2.017, allocations: 0 / 1.685 GB, free: 236.3 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/2.018, allocations: 67.98 kB / 1.685 GB, free: 236.3 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/2.018, allocations: 45.25 kB / 1.685 GB, free: 236.2 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002285/2.02, allocations: 1.982 MB / 1.687 GB, free: 234.2 MB / 1.279 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.04475/2.065, allocations: 70.32 MB / 1.756 GB, free: 163.7 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003174/2.068, allocations: 1.785 MB / 1.757 GB, free: 161.9 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001099/2.069, allocations: 1.089 MB / 1.758 GB, free: 160.8 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 9.353e-05/2.069, allocations: 37.09 kB / 1.758 GB, free: 160.8 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001378/2.071, allocations: 1.203 MB / 1.76 GB, free: 159.6 MB / 1.279 GB Notification: Performance of pre-optimization done (n=117): time 3.146e-06/2.071, allocations: 0 / 1.76 GB, free: 159.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=117): time 0.008453/2.079, allocations: 3.694 MB / 1.763 GB, free: 155.8 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000174/2.079, allocations: 346.5 kB / 1.763 GB, free: 155.5 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3032/2.382, allocations: 315.9 MB / 2.072 GB, free: 15.48 MB / 1.451 GB Notification: Performance of collectPreVariables (initialization): time 0.000438/2.383, allocations: 65.7 kB / 2.072 GB, free: 15.41 MB / 1.451 GB Notification: Performance of collectInitialEqns (initialization): time 0.003574/2.387, allocations: 2.231 MB / 2.074 GB, free: 13.18 MB / 1.451 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006174/2.387, allocations: 378.5 kB / 2.075 GB, free: 12.8 MB / 1.451 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001269/2.388, allocations: 463 kB / 2.075 GB, free: 12.34 MB / 1.451 GB Notification: Performance of setup shared object (initialization): time 0.0001101/2.389, allocations: 305.1 kB / 2.075 GB, free: 12.04 MB / 1.451 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002285/2.391, allocations: 1.527 MB / 2.077 GB, free: 10.52 MB / 1.451 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002404/2.393, allocations: 1.835 MB / 2.079 GB, free: 8.59 MB / 1.451 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004726/2.398, allocations: 3.224 MB / 2.082 GB, free: 5.277 MB / 1.451 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-05/2.398, allocations: 4 kB / 2.082 GB, free: 5.273 MB / 1.451 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.01045/2.409, allocations: 4.279 MB / 2.086 GB, free: 0.9727 MB / 1.451 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001832/2.409, allocations: 169.7 kB / 2.086 GB, free: 0.8008 MB / 1.451 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/2.409, allocations: 8 kB / 2.086 GB, free: 0.793 MB / 1.451 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006708/2.409, allocations: 84.78 kB / 2.086 GB, free: 0.707 MB / 1.451 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/2.411, allocations: 395.4 kB / 2.087 GB, free: 328 kB / 1.451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/2.413, allocations: 1.646 MB / 2.088 GB, free: 14.53 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004459/2.418, allocations: 0.6314 MB / 2.089 GB, free: 13.9 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003148/2.418, allocations: 91.97 kB / 2.089 GB, free: 13.81 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.00364/2.422, allocations: 2.168 MB / 2.091 GB, free: 11.62 MB / 1.467 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002916/2.425, allocations: 457.9 kB / 2.091 GB, free: 11.17 MB / 1.467 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006549/2.431, allocations: 3.37 MB / 2.095 GB, free: 7.785 MB / 1.467 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/2.431, allocations: 12 kB / 2.095 GB, free: 7.773 MB / 1.467 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/2.431, allocations: 0 / 2.095 GB, free: 7.773 MB / 1.467 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/2.431, allocations: 11.91 kB / 2.095 GB, free: 7.762 MB / 1.467 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008373/2.44, allocations: 4.091 MB / 2.099 GB, free: 3.621 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-05/2.44, allocations: 4 kB / 2.099 GB, free: 3.617 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000912/2.441, allocations: 187.7 kB / 2.099 GB, free: 3.434 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005231/2.441, allocations: 68.97 kB / 2.099 GB, free: 3.363 MB / 1.467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002047/2.442, allocations: 47.97 kB / 2.099 GB, free: 3.316 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001959/2.444, allocations: 1.658 MB / 2.101 GB, free: 1.504 MB / 1.467 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/2.444, allocations: 0 / 2.101 GB, free: 1.504 MB / 1.467 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007485/2.451, allocations: 3.036 MB / 2.104 GB, free: 14.43 MB / 1.482 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004165/2.455, allocations: 1.771 MB / 2.105 GB, free: 12.63 MB / 1.482 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001765/2.457, allocations: 35.92 kB / 2.105 GB, free: 12.6 MB / 1.482 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002791/2.46, allocations: 415.9 kB / 2.106 GB, free: 12.19 MB / 1.482 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002835/2.46, allocations: 88.88 kB / 2.106 GB, free: 12.11 MB / 1.482 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/2.46, allocations: 67.95 kB / 2.106 GB, free: 12.04 MB / 1.482 GB Notification: Performance of sorting global known variables: time 0.9232/3.383, allocations: 251.5 MB / 2.352 GB, free: 359.8 MB / 1.498 GB Notification: Performance of sort global known variables: time 1.172e-06/3.384, allocations: 3.5 kB / 2.352 GB, free: 359.8 MB / 1.498 GB Notification: Performance of remove unused functions: time 0.005129/3.389, allocations: 1.399 MB / 2.353 GB, free: 358.6 MB / 1.498 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.008626/3.397, allocations: 4.456 MB / 2.357 GB, free: 354.8 MB / 1.498 GB Notification: Performance of simCode: created initialization part: time 0.00433/3.402, allocations: 4.327 MB / 2.362 GB, free: 350.4 MB / 1.498 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/3.402, allocations: 8 kB / 2.362 GB, free: 350.4 MB / 1.498 GB Notification: Performance of simCode: created simulation system equations: time 0.001736/3.403, allocations: 1.901 MB / 2.363 GB, free: 348.5 MB / 1.498 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004449/3.408, allocations: 0.6156 MB / 2.364 GB, free: 347.9 MB / 1.498 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.202/5.61, allocations: 1.258 GB / 3.622 GB, free: 210.7 MB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002206/5.612, allocations: 3.021 MB / 3.625 GB, free: 207.6 MB / 1.498 GB Notification: Performance of simCode: alias equations: time 0.00339/5.616, allocations: 1.686 MB / 3.626 GB, free: 206.1 MB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003113/5.619, allocations: 2.35 MB / 3.629 GB, free: 203.7 MB / 1.498 GB Notification: Performance of SimCode: time 5.31e-07/5.619, allocations: 3.281 kB / 3.629 GB, free: 203.7 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.116/6.735, allocations: 275.4 MB / 3.897 GB, free: 0.4969 GB / 1.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.7/30.44, allocations: 7.875 kB / 3.897 GB, free: 0.4969 GB / 1.498 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches