Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",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.001147/0.001147, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.195/1.195, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.101/2.101, allocations: 390.3 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 59.91 kB / 0.8126 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5325/0.5338, allocations: 140.4 MB / 0.9497 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.006268/0.5401, allocations: 6.695 MB / 0.9562 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1403/0.6804, allocations: 153.4 MB / 1.106 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.6817, allocations: 35.81 kB / 1.106 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007009/0.6824, allocations: 328.9 kB / 1.106 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00188/0.6843, allocations: 0.7348 MB / 1.107 GB, free: 100 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002518/0.6868, allocations: 1.365 MB / 1.108 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002049/0.6889, allocations: 2.562 MB / 1.111 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.6901, allocations: 1.092 MB / 1.112 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008061/0.6909, allocations: 0.8642 MB / 1.113 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007828/0.6917, allocations: 0.9035 MB / 1.114 GB, free: 9.258 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002492/0.6919, allocations: 212 kB / 1.114 GB, free: 9.051 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.6933, allocations: 0.9481 MB / 1.115 GB, free: 8.102 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000369/0.6937, allocations: 0.5374 MB / 1.115 GB, free: 7.562 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006822/0.6944, allocations: 1.003 MB / 1.116 GB, free: 6.555 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00235/0.6967, allocations: 2.898 MB / 1.119 GB, free: 3.648 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.6967, allocations: 0 / 1.119 GB, free: 3.648 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6967, allocations: 0 / 1.119 GB, free: 3.648 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.859e-05/0.6968, allocations: 0 / 1.119 GB, free: 3.648 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 367 * Number of variables: 367 Notification: Performance of Generate backend data structure: time 0.003563/0.7003, allocations: 2.37 MB / 1.122 GB, free: 1.215 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.7004, allocations: 8.031 kB / 1.122 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002129/0.7006, allocations: 215.4 kB / 1.122 GB, free: 0.9844 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001777/0.7024, allocations: 373.8 kB / 1.122 GB, free: 0.6172 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/0.704, allocations: 1.283 MB / 1.123 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.392e-05/0.7041, allocations: 110.9 kB / 1.123 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.7042, allocations: 136 kB / 1.124 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/0.7066, allocations: 1.659 MB / 1.125 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.7067, allocations: 0 / 1.125 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.7068, allocations: 67.98 kB / 1.125 GB, free: 13.22 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/0.7068, allocations: 36 kB / 1.125 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003107/0.71, allocations: 2.15 MB / 1.127 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006535/0.7165, allocations: 4.734 MB / 1.132 GB, free: 6.211 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002972/0.7195, allocations: 1.606 MB / 1.134 GB, free: 4.594 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.7205, allocations: 0.5911 MB / 1.134 GB, free: 3.996 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.7207, allocations: 69.2 kB / 1.134 GB, free: 3.93 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001508/0.7222, allocations: 0.9384 MB / 1.135 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=154): time 2.635e-06/0.7222, allocations: 0 / 1.135 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of matching and sorting (n=154): time 0.0058/0.728, allocations: 2.37 MB / 1.137 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.7281, allocations: 367.3 kB / 1.138 GB, free: 108 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/0.7295, allocations: 1.155 MB / 1.139 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.7296, allocations: 57.7 kB / 1.139 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004607/0.7301, allocations: 0.6622 MB / 1.14 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003362/0.7304, allocations: 0.489 MB / 1.14 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003625/0.7308, allocations: 283.3 kB / 1.14 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.7309, allocations: 361.9 kB / 1.141 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009807/0.7319, allocations: 499.7 kB / 1.141 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.7331, allocations: 0.7258 MB / 1.142 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002073/0.7351, allocations: 1.184 MB / 1.143 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.7352, allocations: 4 kB / 1.143 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003584/0.7388, allocations: 1.586 MB / 1.145 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.7388, allocations: 4 kB / 1.145 GB, free: 8.949 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.7388, allocations: 4 kB / 1.145 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.7399, allocations: 177.7 kB / 1.145 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.741, allocations: 303.5 kB / 1.145 GB, free: 8.469 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003527/0.7445, allocations: 3.284 MB / 1.148 GB, free: 4.895 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.7459, allocations: 190.5 kB / 1.148 GB, free: 4.711 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.746, allocations: 59.97 kB / 1.149 GB, free: 4.652 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 30 (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,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007038/0.7467, allocations: 409.7 kB / 1.149 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003054/0.747, allocations: 166 kB / 1.149 GB, free: 4.078 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004626/0.7517, allocations: 2.173 MB / 1.151 GB, free: 1.887 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.7517, allocations: 20 kB / 1.151 GB, free: 1.867 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.7517, allocations: 3.938 kB / 1.151 GB, free: 1.863 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/0.7517, allocations: 11.95 kB / 1.151 GB, free: 1.852 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/0.7534, allocations: 1.625 MB / 1.153 GB, free: 176 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.7534, allocations: 0 / 1.153 GB, free: 176 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.7544, allocations: 291.7 kB / 1.153 GB, free: 15.88 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007908/0.7552, allocations: 149.7 kB / 1.153 GB, free: 15.73 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.269e-05/0.7553, allocations: 55.89 kB / 1.153 GB, free: 15.68 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003243/0.7586, allocations: 3.336 MB / 1.157 GB, free: 12.04 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.7586, allocations: 11.95 kB / 1.157 GB, free: 12.03 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003652/0.7623, allocations: 1.82 MB / 1.158 GB, free: 10.19 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006092/0.7629, allocations: 474.3 kB / 1.159 GB, free: 9.707 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/0.7631, allocations: 32 kB / 1.159 GB, free: 9.676 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.7642, allocations: 127.9 kB / 1.159 GB, free: 9.551 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002349/0.7645, allocations: 141.7 kB / 1.159 GB, free: 9.41 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.7646, allocations: 71.95 kB / 1.159 GB, free: 9.34 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009671/0.7656, allocations: 0.8146 MB / 1.16 GB, free: 8.523 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7656, allocations: 0 / 1.16 GB, free: 8.523 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001137/0.7667, allocations: 0.5026 MB / 1.16 GB, free: 8.023 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 10 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.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 (179): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004961/0.7717, allocations: 2.914 MB / 1.163 GB, free: 5.25 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004183/0.7759, allocations: 2.004 MB / 1.165 GB, free: 3.223 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.7759, allocations: 4 kB / 1.165 GB, free: 3.219 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001712/0.7776, allocations: 1.039 MB / 1.166 GB, free: 2.156 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/0.7796, allocations: 0.5726 MB / 1.167 GB, free: 1.625 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01979/0.7994, allocations: 12.29 MB / 1.179 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007764/0.8002, allocations: 1.344 MB / 1.18 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001607/0.8018, allocations: 0.5166 MB / 1.181 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008703/0.8027, allocations: 0.7296 MB / 1.181 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of SimCode: time 7.11e-07/0.8027, allocations: 4 kB / 1.181 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06395/0.8667, allocations: 38.8 MB / 1.219 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.66, allocations: 3.984 kB / 1.219 GB, free: 11.89 MB / 0.9825 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches