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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.005726/0.005726, allocations: 95.97 kB / 15.73 MB, free: 6.055 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.001372/0.001372, allocations: 202.8 kB / 16.68 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.318/1.318, 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 11.1.0-master/package.mo): time 2.724/2.724, allocations: 469.4 MB / 0.7422 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.91 kB / 1.064 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.279, allocations: 159.1 MB / 1.22 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.009632/0.2886, allocations: 8.208 MB / 1.228 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.763/1.052, allocations: 159.5 MB / 1.384 GB, free: 3.098 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001461/1.053, allocations: 39.12 kB / 1.384 GB, free: 3.086 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005116/1.058, allocations: 2.002 MB / 1.386 GB, free: 1.75 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003505/1.062, allocations: 1.298 MB / 1.387 GB, free: 0.7656 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003494/1.065, allocations: 1.446 MB / 1.388 GB, free: 15.66 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.005777/1.071, allocations: 5.448 MB / 1.394 GB, free: 12.31 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001696/1.073, allocations: 1.117 MB / 1.395 GB, free: 11.66 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00296/1.076, allocations: 1.702 MB / 1.396 GB, free: 10.66 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003077/1.079, allocations: 1.489 MB / 1.398 GB, free: 9.684 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0008379/1.08, allocations: 280.3 kB / 1.398 GB, free: 9.68 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005057/1.085, allocations: 2.359 MB / 1.4 GB, free: 8.523 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.003234/1.088, allocations: 3.013 MB / 1.403 GB, free: 7.086 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.005494/1.094, allocations: 2.945 MB / 1.406 GB, free: 4.871 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.013/1.107, allocations: 10.85 MB / 1.417 GB, free: 12.4 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.107, allocations: 0 / 1.417 GB, free: 12.4 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.964e-06/1.107, allocations: 0 / 1.417 GB, free: 12.4 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002357/1.107, allocations: 0 / 1.417 GB, free: 12.4 MB / 1.107 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.02034/1.127, allocations: 8.468 MB / 1.425 GB, free: 3.836 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/1.127, allocations: 8.031 kB / 1.425 GB, free: 3.828 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004868/1.128, allocations: 224.8 kB / 1.425 GB, free: 3.598 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003392/1.131, allocations: 0.6261 MB / 1.426 GB, free: 2.969 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2431/1.374, allocations: 276.1 MB / 1.695 GB, free: 14.7 MB / 1.389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001695/1.375, allocations: 138.9 kB / 1.696 GB, free: 14.56 MB / 1.389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004731/1.375, allocations: 184 kB / 1.696 GB, free: 14.38 MB / 1.389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003751/1.379, allocations: 1.968 MB / 1.698 GB, free: 12.34 MB / 1.389 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.437e-05/1.379, allocations: 3.938 kB / 1.698 GB, free: 12.33 MB / 1.389 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002056/1.379, allocations: 60 kB / 1.698 GB, free: 12.27 MB / 1.389 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.893e-05/1.379, allocations: 36 kB / 1.698 GB, free: 12.24 MB / 1.389 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003209/1.382, allocations: 1.987 MB / 1.7 GB, free: 10.25 MB / 1.389 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.05897/1.441, allocations: 70.35 MB / 1.768 GB, free: 3.648 MB / 1.451 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003397/1.445, allocations: 1.777 MB / 1.77 GB, free: 1.867 MB / 1.451 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/1.446, allocations: 1.081 MB / 1.771 GB, free: 0.7852 MB / 1.451 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/1.446, allocations: 41.08 kB / 1.771 GB, free: 0.7461 MB / 1.451 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001976/1.448, allocations: 1.192 MB / 1.772 GB, free: 15.54 MB / 1.467 GB Notification: Performance of pre-optimization done (n=117): time 3.447e-06/1.448, allocations: 0 / 1.772 GB, free: 15.54 MB / 1.467 GB Notification: Performance of matching and sorting (n=117): time 0.009169/1.458, allocations: 3.732 MB / 1.776 GB, free: 11.77 MB / 1.467 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002231/1.458, allocations: 342.5 kB / 1.776 GB, free: 11.38 MB / 1.467 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8489/2.307, allocations: 315.9 MB / 2.085 GB, free: 309 MB / 1.498 GB Notification: Performance of collectPreVariables (initialization): time 0.0003721/2.307, allocations: 65.7 kB / 2.085 GB, free: 308.9 MB / 1.498 GB Notification: Performance of collectInitialEqns (initialization): time 0.002933/2.31, allocations: 2.245 MB / 2.087 GB, free: 306.9 MB / 1.498 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005622/2.311, allocations: 400.6 kB / 2.088 GB, free: 306.7 MB / 1.498 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001097/2.312, allocations: 465.1 kB / 2.088 GB, free: 306.3 MB / 1.498 GB Notification: Performance of setup shared object (initialization): time 4.213e-05/2.312, allocations: 306 kB / 2.088 GB, free: 306 MB / 1.498 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001988/2.314, allocations: 1.519 MB / 2.09 GB, free: 304.5 MB / 1.498 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002054/2.316, allocations: 1.833 MB / 2.092 GB, free: 302.6 MB / 1.498 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003523/2.319, allocations: 3.234 MB / 2.095 GB, free: 299.3 MB / 1.498 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/2.319, allocations: 0 / 2.095 GB, free: 299.3 MB / 1.498 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007609/2.327, allocations: 4.309 MB / 2.099 GB, free: 295 MB / 1.498 GB Notification: Performance of prepare postOptimizeDAE: time 0.000133/2.327, allocations: 165.6 kB / 2.099 GB, free: 294.8 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/2.327, allocations: 5.281 kB / 2.099 GB, free: 294.8 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005917/2.328, allocations: 92.86 kB / 2.099 GB, free: 294.7 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/2.329, allocations: 391.4 kB / 2.1 GB, free: 294.3 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/2.331, allocations: 1.645 MB / 2.101 GB, free: 292.5 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003804/2.335, allocations: 0.6426 MB / 2.102 GB, free: 292 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002713/2.335, allocations: 87.97 kB / 2.102 GB, free: 291.9 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.002651/2.338, allocations: 2.159 MB / 2.104 GB, free: 289.7 MB / 1.498 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002086/2.34, allocations: 484.7 kB / 2.104 GB, free: 289.3 MB / 1.498 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005063/2.345, allocations: 3.383 MB / 2.108 GB, free: 285.9 MB / 1.498 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/2.345, allocations: 8.656 kB / 2.108 GB, free: 285.9 MB / 1.498 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/2.345, allocations: 4 kB / 2.108 GB, free: 285.9 MB / 1.498 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/2.345, allocations: 3.984 kB / 2.108 GB, free: 285.9 MB / 1.498 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005036/2.35, allocations: 4.09 MB / 2.112 GB, free: 281.8 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/2.35, allocations: 0 / 2.112 GB, free: 281.8 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008016/2.351, allocations: 195.2 kB / 2.112 GB, free: 281.6 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004498/2.352, allocations: 72.78 kB / 2.112 GB, free: 281.5 MB / 1.498 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001424/2.352, allocations: 43.72 kB / 2.112 GB, free: 281.5 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/2.353, allocations: 1.655 MB / 2.114 GB, free: 279.7 MB / 1.498 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/2.353, allocations: 3.984 kB / 2.114 GB, free: 279.7 MB / 1.498 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006314/2.36, allocations: 3.06 MB / 2.117 GB, free: 276.6 MB / 1.498 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004246/2.364, allocations: 1.797 MB / 2.118 GB, free: 274.8 MB / 1.498 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001921/2.366, allocations: 31.94 kB / 2.118 GB, free: 274.7 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003273/2.369, allocations: 421.3 kB / 2.119 GB, free: 274.3 MB / 1.498 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002521/2.369, allocations: 92.86 kB / 2.119 GB, free: 274.2 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/2.37, allocations: 67.91 kB / 2.119 GB, free: 274.2 MB / 1.498 GB Notification: Performance of sorting global known variables: time 0.1591/2.529, allocations: 251.5 MB / 2.365 GB, free: 22.62 MB / 1.498 GB Notification: Performance of sort global known variables: time 8.81e-07/2.529, allocations: 0 / 2.365 GB, free: 22.62 MB / 1.498 GB Notification: Performance of remove unused functions: time 0.00487/2.534, allocations: 1.411 MB / 2.366 GB, free: 21.21 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.009156/2.543, allocations: 4.502 MB / 2.37 GB, free: 16.95 MB / 1.498 GB Notification: Performance of simCode: created initialization part: time 0.004531/2.547, allocations: 4.331 MB / 2.375 GB, free: 12.6 MB / 1.498 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/2.547, allocations: 0.5 kB / 2.375 GB, free: 12.6 MB / 1.498 GB Notification: Performance of simCode: created simulation system equations: time 0.001836/2.549, allocations: 1.909 MB / 2.377 GB, free: 10.67 MB / 1.498 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004343/2.554, allocations: 0.6151 MB / 2.377 GB, free: 10.07 MB / 1.498 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.564/5.117, allocations: 1.258 GB / 3.635 GB, free: 441.9 MB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002846/5.12, allocations: 3.012 MB / 3.638 GB, free: 439.6 MB / 1.498 GB Notification: Performance of simCode: alias equations: time 0.004062/5.124, allocations: 1.691 MB / 3.64 GB, free: 438.2 MB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003913/5.128, allocations: 2.348 MB / 3.642 GB, free: 436.1 MB / 1.498 GB Notification: Performance of SimCode: time 1.002e-06/5.128, allocations: 0 / 3.642 GB, free: 436.1 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5125/5.641, allocations: 273.4 MB / 3.909 GB, free: 168.8 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.2/27.85, allocations: 4 kB / 3.909 GB, free: 168.8 MB / 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 & 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