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.009754/0.009754, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.00244/0.00244, allocations: 195.1 kB / 16.68 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.298/2.298, 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 9.1.3-maint.9.1.x/package.mo): time 2.453/2.453, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 67.88 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084/1.086, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.008771/1.095, allocations: 6.702 MB / 1.094 GB, free: 472 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2133/1.308, allocations: 153.4 MB / 1.244 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002832/1.311, allocations: 35.19 kB / 1.244 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001623/1.313, allocations: 327.8 kB / 1.244 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004588/1.317, allocations: 0.7292 MB / 1.245 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005999/1.323, allocations: 1.368 MB / 1.246 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005612/1.329, allocations: 2.579 MB / 1.249 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002128/1.331, allocations: 1.099 MB / 1.25 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002034/1.333, allocations: 0.8837 MB / 1.251 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001977/1.335, allocations: 0.8945 MB / 1.251 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0009508/1.336, allocations: 208 kB / 1.252 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003067/1.339, allocations: 0.9832 MB / 1.253 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001032/1.34, allocations: 0.5373 MB / 1.253 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001921/1.342, allocations: 0.9987 MB / 1.254 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00569/1.348, allocations: 2.979 MB / 1.257 GB, free: 0 / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/1.348, allocations: 0 / 1.257 GB, free: 0 / 0.9825 GB Notification: Performance of FrontEnd: time 1.854e-06/1.348, allocations: 0 / 1.257 GB, free: 0 / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001259/1.348, allocations: 4.047 kB / 1.257 GB, free: 15.99 MB / 0.9981 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.006556/1.355, allocations: 2.358 MB / 1.259 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.19e-05/1.355, allocations: 15.97 kB / 1.259 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006056/1.355, allocations: 215.4 kB / 1.26 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002668/1.358, allocations: 377.9 kB / 1.26 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003374/1.361, allocations: 1.318 MB / 1.261 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/1.362, allocations: 110.9 kB / 1.261 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003683/1.362, allocations: 140 kB / 1.261 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00405/1.366, allocations: 1.65 MB / 1.263 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.236e-05/1.366, allocations: 7.938 kB / 1.263 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002073/1.366, allocations: 59.98 kB / 1.263 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.163e-05/1.366, allocations: 36 kB / 1.263 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004093/1.37, allocations: 2.146 MB / 1.265 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01025/1.381, allocations: 4.69 MB / 1.27 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003807/1.385, allocations: 1.601 MB / 1.271 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/1.386, allocations: 0.5912 MB / 1.272 GB, free: 372 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001487/1.386, allocations: 61.2 kB / 1.272 GB, free: 312 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001934/1.388, allocations: 0.938 MB / 1.273 GB, free: 15.34 MB / 1.014 GB Notification: Performance of pre-optimization done (n=154): time 4.388e-06/1.388, allocations: 0 / 1.273 GB, free: 15.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=154): time 0.006998/1.395, allocations: 2.382 MB / 1.275 GB, free: 12.91 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001992/1.395, allocations: 355.5 kB / 1.276 GB, free: 12.49 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002177/1.397, allocations: 1.163 MB / 1.277 GB, free: 11.3 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001946/1.398, allocations: 61.69 kB / 1.277 GB, free: 11.24 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006827/1.398, allocations: 0.6623 MB / 1.277 GB, free: 10.57 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005258/1.399, allocations: 492.8 kB / 1.278 GB, free: 10.08 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005569/1.399, allocations: 283.3 kB / 1.278 GB, free: 9.797 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001632/1.4, allocations: 357.9 kB / 1.279 GB, free: 9.441 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/1.401, allocations: 0.4919 MB / 1.279 GB, free: 8.949 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/1.402, allocations: 0.722 MB / 1.28 GB, free: 8.16 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002829/1.405, allocations: 1.196 MB / 1.281 GB, free: 6.926 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.25e-05/1.405, allocations: 3.938 kB / 1.281 GB, free: 6.922 MB / 1.014 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.006631/1.412, allocations: 1.59 MB / 1.282 GB, free: 5.316 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.825e-05/1.412, allocations: 8 kB / 1.282 GB, free: 5.309 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/1.412, allocations: 4 kB / 1.282 GB, free: 5.305 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001606/1.413, allocations: 165.6 kB / 1.283 GB, free: 5.137 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/1.415, allocations: 303.5 kB / 1.283 GB, free: 4.84 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004408/1.419, allocations: 3.295 MB / 1.286 GB, free: 1.254 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/1.421, allocations: 174.7 kB / 1.286 GB, free: 1.082 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002297/1.421, allocations: 64.14 kB / 1.286 GB, free: 1.02 MB / 1.014 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.001035/1.422, allocations: 414 kB / 1.287 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005602/1.423, allocations: 166 kB / 1.287 GB, free: 452 kB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00548/1.429, allocations: 2.166 MB / 1.289 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-05/1.429, allocations: 20 kB / 1.289 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/1.429, allocations: 3.938 kB / 1.289 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.211e-05/1.429, allocations: 15.95 kB / 1.289 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002518/1.431, allocations: 1.628 MB / 1.291 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/1.431, allocations: 0 / 1.291 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/1.432, allocations: 291.6 kB / 1.291 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009067/1.433, allocations: 149.5 kB / 1.291 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001629/1.433, allocations: 51.95 kB / 1.291 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003923/1.437, allocations: 3.332 MB / 1.294 GB, free: 8.418 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/1.437, allocations: 7.875 kB / 1.294 GB, free: 8.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004617/1.442, allocations: 1.823 MB / 1.296 GB, free: 6.566 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/1.443, allocations: 466.5 kB / 1.297 GB, free: 6.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004118/1.444, allocations: 43.98 kB / 1.297 GB, free: 6.047 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/1.445, allocations: 119.9 kB / 1.297 GB, free: 5.93 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003748/1.445, allocations: 145.8 kB / 1.297 GB, free: 5.785 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001659/1.446, allocations: 71.89 kB / 1.297 GB, free: 5.715 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001493/1.447, allocations: 0.8107 MB / 1.298 GB, free: 4.902 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/1.447, allocations: 0 / 1.298 GB, free: 4.902 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001856/1.449, allocations: 0.4988 MB / 1.298 GB, free: 4.402 MB / 1.029 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.006674/1.456, allocations: 2.933 MB / 1.301 GB, free: 1.617 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003693/1.459, allocations: 1.614 MB / 1.303 GB, free: 15.97 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/1.459, allocations: 4 kB / 1.303 GB, free: 15.97 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002125/1.462, allocations: 1.039 MB / 1.304 GB, free: 14.91 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002996/1.465, allocations: 0.577 MB / 1.304 GB, free: 14.37 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03157/1.496, allocations: 11.38 MB / 1.315 GB, free: 2.793 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001335/1.497, allocations: 1.329 MB / 1.317 GB, free: 1.434 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001946/1.499, allocations: 0.5204 MB / 1.317 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/1.501, allocations: 0.7374 MB / 1.318 GB, free: 172 kB / 1.045 GB Notification: Performance of SimCode: time 1.443e-06/1.501, allocations: 0 / 1.318 GB, free: 172 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5255/2.026, allocations: 39.99 MB / 1.357 GB, free: 8.652 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.83/23.86, allocations: 3.938 kB / 1.357 GB, free: 8.648 MB / 1.092 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 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.mat","/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