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.01019/0.01019, allocations: 100.4 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.002056/0.002056, allocations: 193.2 kB / 16.67 MB, free: 5.965 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.745/2.745, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 67.89 kB / 1.054 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.309, allocations: 157.4 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.009702/0.3187, allocations: 8.203 MB / 1.215 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8135/1.132, allocations: 159.5 MB / 1.371 GB, free: 0.9883 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/1.134, allocations: 37.97 kB / 1.371 GB, free: 0.9766 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00539/1.139, allocations: 1.989 MB / 1.373 GB, free: 120 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003618/1.143, allocations: 1.283 MB / 1.374 GB, free: 15.36 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00374/1.147, allocations: 1.446 MB / 1.376 GB, free: 14.53 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.006711/1.153, allocations: 5.437 MB / 1.381 GB, free: 11.19 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002091/1.155, allocations: 1.129 MB / 1.382 GB, free: 10.52 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00304/1.159, allocations: 1.702 MB / 1.384 GB, free: 9.527 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002851/1.161, allocations: 1.488 MB / 1.385 GB, free: 8.551 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0008583/1.162, allocations: 276.6 kB / 1.386 GB, free: 8.551 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00485/1.167, allocations: 2.359 MB / 1.388 GB, free: 7.395 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003143/1.17, allocations: 3.016 MB / 1.391 GB, free: 5.953 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.005157/1.175, allocations: 2.942 MB / 1.394 GB, free: 3.742 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01524/1.191, allocations: 10.81 MB / 1.404 GB, free: 13.07 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/1.191, allocations: 4 kB / 1.404 GB, free: 13.06 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.134e-06/1.191, allocations: 0 / 1.404 GB, free: 13.06 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.000363/1.191, allocations: 0 / 1.404 GB, free: 13.06 MB / 1.092 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.02438/1.216, allocations: 8.263 MB / 1.412 GB, free: 5.234 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/1.216, allocations: 12.62 kB / 1.412 GB, free: 5.223 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005371/1.216, allocations: 223.9 kB / 1.412 GB, free: 4.992 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003661/1.22, allocations: 0.5956 MB / 1.413 GB, free: 4.391 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2494/1.469, allocations: 276 MB / 1.683 GB, free: 240 kB / 1.357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/1.469, allocations: 134.9 kB / 1.683 GB, free: 104 kB / 1.357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005822/1.47, allocations: 188.1 kB / 1.683 GB, free: 15.91 MB / 1.373 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004026/1.474, allocations: 1.964 MB / 1.685 GB, free: 13.87 MB / 1.373 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.408e-05/1.474, allocations: 0 / 1.685 GB, free: 13.87 MB / 1.373 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/1.474, allocations: 64 kB / 1.685 GB, free: 13.81 MB / 1.373 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.014e-05/1.474, allocations: 36 kB / 1.685 GB, free: 13.77 MB / 1.373 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003218/1.478, allocations: 1.982 MB / 1.687 GB, free: 11.79 MB / 1.373 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.06381/1.541, allocations: 70.32 MB / 1.756 GB, free: 5.211 MB / 1.436 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003582/1.545, allocations: 1.791 MB / 1.757 GB, free: 3.422 MB / 1.436 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001753/1.547, allocations: 1.085 MB / 1.758 GB, free: 2.336 MB / 1.436 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/1.547, allocations: 32.95 kB / 1.758 GB, free: 2.305 MB / 1.436 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002069/1.549, allocations: 1.196 MB / 1.76 GB, free: 1.09 MB / 1.436 GB Notification: Performance of pre-optimization done (n=117): time 1.283e-05/1.549, allocations: 0 / 1.76 GB, free: 1.09 MB / 1.436 GB Notification: Performance of matching and sorting (n=117): time 0.009325/1.558, allocations: 3.702 MB / 1.763 GB, free: 13.35 MB / 1.451 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002956/1.559, allocations: 342.5 kB / 1.764 GB, free: 12.96 MB / 1.451 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.9168/2.476, allocations: 315.9 MB / 2.072 GB, free: 304.4 MB / 1.482 GB Notification: Performance of collectPreVariables (initialization): time 0.0004149/2.476, allocations: 65.7 kB / 2.072 GB, free: 304.3 MB / 1.482 GB Notification: Performance of collectInitialEqns (initialization): time 0.003052/2.479, allocations: 2.23 MB / 2.074 GB, free: 302.3 MB / 1.482 GB Notification: Performance of collectInitialBindings (initialization): time 0.000527/2.48, allocations: 392.8 kB / 2.075 GB, free: 302.1 MB / 1.482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001277/2.481, allocations: 456.6 kB / 2.075 GB, free: 301.7 MB / 1.482 GB Notification: Performance of setup shared object (initialization): time 6.224e-05/2.481, allocations: 302.9 kB / 2.075 GB, free: 301.4 MB / 1.482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00216/2.483, allocations: 1.524 MB / 2.077 GB, free: 299.8 MB / 1.482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002103/2.485, allocations: 1.841 MB / 2.079 GB, free: 297.9 MB / 1.482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003583/2.489, allocations: 3.218 MB / 2.082 GB, free: 294.7 MB / 1.482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/2.489, allocations: 7.344 kB / 2.082 GB, free: 294.6 MB / 1.482 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.008411/2.497, allocations: 4.285 MB / 2.086 GB, free: 290.4 MB / 1.482 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001548/2.498, allocations: 170.2 kB / 2.086 GB, free: 290.2 MB / 1.482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/2.498, allocations: 4 kB / 2.086 GB, free: 290.2 MB / 1.482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006191/2.498, allocations: 98.05 kB / 2.086 GB, free: 290.1 MB / 1.482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/2.5, allocations: 387.4 kB / 2.087 GB, free: 289.7 MB / 1.482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/2.502, allocations: 1.634 MB / 2.088 GB, free: 287.9 MB / 1.482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004596/2.506, allocations: 0.6413 MB / 2.089 GB, free: 287.3 MB / 1.482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000316/2.506, allocations: 87.97 kB / 2.089 GB, free: 287.2 MB / 1.482 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.00336/2.51, allocations: 2.163 MB / 2.091 GB, free: 285.1 MB / 1.482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002743/2.513, allocations: 463.7 kB / 2.091 GB, free: 284.6 MB / 1.482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005655/2.518, allocations: 3.371 MB / 2.095 GB, free: 281.2 MB / 1.482 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/2.518, allocations: 12 kB / 2.095 GB, free: 281.2 MB / 1.482 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/2.518, allocations: 0 / 2.095 GB, free: 281.2 MB / 1.482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/2.518, allocations: 7.969 kB / 2.095 GB, free: 281.2 MB / 1.482 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00594/2.524, allocations: 4.092 MB / 2.099 GB, free: 277.1 MB / 1.482 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/2.524, allocations: 0 / 2.099 GB, free: 277.1 MB / 1.482 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007612/2.525, allocations: 191.7 kB / 2.099 GB, free: 276.9 MB / 1.482 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004443/2.526, allocations: 71.95 kB / 2.099 GB, free: 276.8 MB / 1.482 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/2.526, allocations: 39.97 kB / 2.099 GB, free: 276.8 MB / 1.482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001496/2.527, allocations: 1.66 MB / 2.101 GB, free: 275 MB / 1.482 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/2.527, allocations: 1.75 kB / 2.101 GB, free: 275 MB / 1.482 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006038/2.533, allocations: 3.031 MB / 2.104 GB, free: 271.9 MB / 1.482 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003941/2.537, allocations: 1.78 MB / 2.105 GB, free: 270.1 MB / 1.482 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00114/2.538, allocations: 31.94 kB / 2.105 GB, free: 270.1 MB / 1.482 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002246/2.541, allocations: 411.9 kB / 2.106 GB, free: 269.7 MB / 1.482 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002315/2.541, allocations: 100.8 kB / 2.106 GB, free: 269.6 MB / 1.482 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/2.541, allocations: 59.66 kB / 2.106 GB, free: 269.6 MB / 1.482 GB Notification: Performance of sorting global known variables: time 0.1597/2.701, allocations: 251.5 MB / 2.352 GB, free: 18 MB / 1.482 GB Notification: Performance of sort global known variables: time 3.2e-07/2.701, allocations: 0 / 2.352 GB, free: 18 MB / 1.482 GB Notification: Performance of remove unused functions: time 0.005139/2.706, allocations: 1.411 MB / 2.353 GB, free: 16.67 MB / 1.482 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.009349/2.715, allocations: 4.451 MB / 2.357 GB, free: 12.52 MB / 1.482 GB Notification: Performance of simCode: created initialization part: time 0.00443/2.72, allocations: 4.333 MB / 2.362 GB, free: 8.168 MB / 1.482 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/2.72, allocations: 0 / 2.362 GB, free: 8.168 MB / 1.482 GB Notification: Performance of simCode: created simulation system equations: time 0.001751/2.721, allocations: 1.91 MB / 2.363 GB, free: 6.238 MB / 1.482 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00448/2.726, allocations: 0.6204 MB / 2.364 GB, free: 5.641 MB / 1.482 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.878/5.604, allocations: 1.258 GB / 3.622 GB, free: 421.5 MB / 1.482 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002753/5.606, allocations: 3.015 MB / 3.625 GB, free: 419.2 MB / 1.482 GB Notification: Performance of simCode: alias equations: time 0.003968/5.61, allocations: 1.696 MB / 3.626 GB, free: 417.8 MB / 1.482 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003875/5.614, allocations: 2.347 MB / 3.629 GB, free: 415.7 MB / 1.482 GB Notification: Performance of SimCode: time 9.32e-07/5.614, allocations: 0 / 3.629 GB, free: 415.7 MB / 1.482 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5289/6.143, allocations: 275.4 MB / 3.898 GB, free: 145.6 MB / 1.482 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.18/30.32, allocations: 11.98 kB / 3.898 GB, free: 145.6 MB / 1.482 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