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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.005311/0.005311, allocations: 100.7 kB / 15.73 MB, free: 6.062 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.001293/0.001293, allocations: 194.3 kB / 16.68 MB, free: 5.973 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.261/1.261, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.461/2.461, allocations: 472.7 MB / 0.7453 GB, free: 424 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.89 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6592/0.6605, allocations: 159.9 MB / 1.225 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.00873/0.6692, allocations: 8.202 MB / 1.233 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1472/0.8164, allocations: 159.5 MB / 1.389 GB, free: 5.008 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.8176, allocations: 39.81 kB / 1.389 GB, free: 4.969 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003908/0.8216, allocations: 2.014 MB / 1.391 GB, free: 2.949 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002319/0.8239, allocations: 1.299 MB / 1.392 GB, free: 1.648 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002626/0.8266, allocations: 1.456 MB / 1.394 GB, free: 204 kB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003889/0.8305, allocations: 5.434 MB / 1.399 GB, free: 10.75 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/0.8317, allocations: 1.124 MB / 1.4 GB, free: 9.578 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/0.8333, allocations: 1.703 MB / 1.402 GB, free: 7.871 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001383/0.8347, allocations: 1.487 MB / 1.403 GB, free: 6.379 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002902/0.835, allocations: 276 kB / 1.403 GB, free: 6.109 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00293/0.8379, allocations: 2.368 MB / 1.406 GB, free: 3.738 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001962/0.8399, allocations: 3.01 MB / 1.409 GB, free: 0.7227 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002387/0.8423, allocations: 2.943 MB / 1.412 GB, free: 13.77 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.008627/0.8509, allocations: 10.86 MB / 1.422 GB, free: 2.875 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.8509, allocations: 0 / 1.422 GB, free: 2.875 MB / 1.139 GB Notification: Performance of FrontEnd: time 3.767e-06/0.8509, allocations: 0 / 1.422 GB, free: 2.875 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.713e-05/0.851, allocations: 3.938 kB / 1.422 GB, free: 2.871 MB / 1.139 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.01317/0.8642, allocations: 8.46 MB / 1.43 GB, free: 10.32 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.8642, allocations: 16.02 kB / 1.43 GB, free: 10.3 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002255/0.8645, allocations: 223.9 kB / 1.431 GB, free: 10.07 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001864/0.8663, allocations: 0.6221 MB / 1.431 GB, free: 9.445 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6849/1.551, allocations: 276.1 MB / 1.701 GB, free: 208.9 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.212e-05/1.551, allocations: 142.9 kB / 1.701 GB, free: 208.7 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003029/1.552, allocations: 184 kB / 1.701 GB, free: 208.6 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00243/1.554, allocations: 1.964 MB / 1.703 GB, free: 206.5 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/1.554, allocations: 3.938 kB / 1.703 GB, free: 206.5 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/1.554, allocations: 60 kB / 1.703 GB, free: 206.4 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/1.554, allocations: 36 kB / 1.703 GB, free: 206.4 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002255/1.557, allocations: 1.994 MB / 1.705 GB, free: 204.4 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.03512/1.592, allocations: 70.34 MB / 1.774 GB, free: 133.8 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002121/1.594, allocations: 1.778 MB / 1.776 GB, free: 132.1 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009799/1.595, allocations: 1.088 MB / 1.777 GB, free: 131 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 7.413e-05/1.595, allocations: 36.94 kB / 1.777 GB, free: 130.9 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001209/1.596, allocations: 1.199 MB / 1.778 GB, free: 129.7 MB / 1.279 GB Notification: Performance of pre-optimization done (n=117): time 2.315e-06/1.596, allocations: 0 / 1.778 GB, free: 129.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=117): time 0.005877/1.602, allocations: 3.72 MB / 1.782 GB, free: 126 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/1.602, allocations: 342.5 kB / 1.782 GB, free: 125.6 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2782/1.88, allocations: 315.9 MB / 2.09 GB, free: 1.605 MB / 1.467 GB Notification: Performance of collectPreVariables (initialization): time 0.000372/1.881, allocations: 65.7 kB / 2.09 GB, free: 1.535 MB / 1.467 GB Notification: Performance of collectInitialEqns (initialization): time 0.002328/1.883, allocations: 2.252 MB / 2.093 GB, free: 15.28 MB / 1.482 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004447/1.884, allocations: 404.6 kB / 2.093 GB, free: 14.88 MB / 1.482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007298/1.884, allocations: 463 kB / 2.094 GB, free: 14.43 MB / 1.482 GB Notification: Performance of setup shared object (initialization): time 7.921e-05/1.884, allocations: 305.1 kB / 2.094 GB, free: 14.12 MB / 1.482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001945/1.886, allocations: 1.523 MB / 2.095 GB, free: 12.6 MB / 1.482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002106/1.889, allocations: 1.835 MB / 2.097 GB, free: 10.67 MB / 1.482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003727/1.892, allocations: 3.228 MB / 2.1 GB, free: 7.355 MB / 1.482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/1.892, allocations: 4 kB / 2.1 GB, free: 7.352 MB / 1.482 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.006921/1.899, allocations: 4.298 MB / 2.104 GB, free: 3.035 MB / 1.482 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001519/1.899, allocations: 171.5 kB / 2.105 GB, free: 2.863 MB / 1.482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/1.899, allocations: 4 kB / 2.105 GB, free: 2.859 MB / 1.482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005594/1.9, allocations: 93.09 kB / 2.105 GB, free: 2.766 MB / 1.482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/1.901, allocations: 391.4 kB / 2.105 GB, free: 2.383 MB / 1.482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/1.903, allocations: 1.656 MB / 2.107 GB, free: 0.5859 MB / 1.482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002905/1.906, allocations: 0.6422 MB / 2.107 GB, free: 15.94 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/1.906, allocations: 87.97 kB / 2.107 GB, free: 15.85 MB / 1.498 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.002244/1.908, allocations: 2.169 MB / 2.11 GB, free: 13.67 MB / 1.498 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001424/1.91, allocations: 488.7 kB / 2.11 GB, free: 13.19 MB / 1.498 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005036/1.915, allocations: 3.369 MB / 2.113 GB, free: 9.801 MB / 1.498 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/1.915, allocations: 12 kB / 2.113 GB, free: 9.789 MB / 1.498 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/1.915, allocations: 0 / 2.113 GB, free: 9.789 MB / 1.498 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/1.915, allocations: 15.91 kB / 2.113 GB, free: 9.773 MB / 1.498 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004256/1.919, allocations: 4.088 MB / 2.117 GB, free: 5.633 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/1.919, allocations: 0 / 2.117 GB, free: 5.633 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007024/1.92, allocations: 183.7 kB / 2.117 GB, free: 5.453 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003981/1.92, allocations: 72.78 kB / 2.118 GB, free: 5.379 MB / 1.498 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-05/1.92, allocations: 39.97 kB / 2.118 GB, free: 5.34 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/1.922, allocations: 1.666 MB / 2.119 GB, free: 3.523 MB / 1.498 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.922, allocations: 0 / 2.119 GB, free: 3.523 MB / 1.498 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004895/1.927, allocations: 3.054 MB / 2.122 GB, free: 444 kB / 1.498 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002461/1.93, allocations: 1.793 MB / 2.124 GB, free: 14.61 MB / 1.514 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008776/1.93, allocations: 31.98 kB / 2.124 GB, free: 14.58 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002102/1.933, allocations: 419.9 kB / 2.124 GB, free: 14.17 MB / 1.514 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/1.933, allocations: 97.02 kB / 2.124 GB, free: 14.08 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/1.933, allocations: 55.97 kB / 2.124 GB, free: 14.02 MB / 1.514 GB Notification: Performance of sorting global known variables: time 0.6804/2.613, allocations: 251.5 MB / 2.37 GB, free: 349 MB / 1.514 GB Notification: Performance of sort global known variables: time 1.072e-06/2.613, allocations: 2.156 kB / 2.37 GB, free: 349 MB / 1.514 GB Notification: Performance of remove unused functions: time 0.004224/2.618, allocations: 1.427 MB / 2.372 GB, free: 347.7 MB / 1.514 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.008085/2.626, allocations: 4.492 MB / 2.376 GB, free: 343.9 MB / 1.514 GB Notification: Performance of simCode: created initialization part: time 0.004158/2.63, allocations: 4.338 MB / 2.38 GB, free: 339.5 MB / 1.514 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/2.63, allocations: 0 / 2.38 GB, free: 339.5 MB / 1.514 GB Notification: Performance of simCode: created simulation system equations: time 0.001691/2.632, allocations: 1.911 MB / 2.382 GB, free: 337.6 MB / 1.514 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003958/2.635, allocations: 0.6165 MB / 2.383 GB, free: 337 MB / 1.514 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.921/4.556, allocations: 1.258 GB / 3.64 GB, free: 207 MB / 1.514 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003159/4.559, allocations: 3.009 MB / 3.643 GB, free: 204 MB / 1.514 GB Notification: Performance of simCode: alias equations: time 0.003595/4.563, allocations: 1.694 MB / 3.645 GB, free: 202.4 MB / 1.514 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003468/4.566, allocations: 2.354 MB / 3.647 GB, free: 200.1 MB / 1.514 GB Notification: Performance of SimCode: time 6.81e-07/4.566, allocations: 0 / 3.647 GB, free: 200.1 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.759/7.326, allocations: 273.5 MB / 3.914 GB, free: 0.5 GB / 1.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.78/31.1, allocations: 8.062 kB / 3.914 GB, free: 0.5 GB / 1.514 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 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.csv","/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