Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_latest_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.009391/0.009392, allocations: 100 kB / 15.73 MB, free: 6.043 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.001359/0.001359, allocations: 185.4 kB / 16.67 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.718/2.718, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 60.11 kB / 1.054 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3254, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.01016/0.3356, allocations: 7.196 MB / 1.214 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8513/1.187, allocations: 153.4 MB / 1.364 GB, free: 5.629 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001709/1.189, allocations: 34.09 kB / 1.364 GB, free: 5.617 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001271/1.19, allocations: 337.1 kB / 1.364 GB, free: 5.395 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00326/1.193, allocations: 0.7679 MB / 1.365 GB, free: 4.926 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004333/1.198, allocations: 1.39 MB / 1.367 GB, free: 4.156 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004086/1.202, allocations: 2.654 MB / 1.369 GB, free: 2.793 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002047/1.204, allocations: 1.043 MB / 1.37 GB, free: 2.234 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/1.206, allocations: 0.8921 MB / 1.371 GB, free: 1.789 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001991/1.208, allocations: 0.9076 MB / 1.372 GB, free: 1.316 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0009525/1.209, allocations: 211.9 kB / 1.372 GB, free: 1.316 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002928/1.212, allocations: 0.9709 MB / 1.373 GB, free: 1.086 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001059/1.213, allocations: 0.5422 MB / 1.374 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002332/1.215, allocations: 1.017 MB / 1.375 GB, free: 52 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005218/1.22, allocations: 3.003 MB / 1.378 GB, free: 14.02 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.22, allocations: 0 / 1.378 GB, free: 14.02 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.884e-06/1.22, allocations: 0 / 1.378 GB, free: 14.02 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001336/1.221, allocations: 1.781 kB / 1.378 GB, free: 14.02 MB / 1.076 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.00661/1.227, allocations: 2.392 MB / 1.38 GB, free: 12.22 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/1.227, allocations: 9.875 kB / 1.38 GB, free: 12.22 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004675/1.228, allocations: 213.9 kB / 1.38 GB, free: 12.05 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002284/1.23, allocations: 377.6 kB / 1.38 GB, free: 11.87 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002762/1.233, allocations: 1.313 MB / 1.382 GB, free: 10.85 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/1.233, allocations: 114 kB / 1.382 GB, free: 10.79 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002809/1.233, allocations: 136.5 kB / 1.382 GB, free: 10.75 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003421/1.237, allocations: 1.661 MB / 1.384 GB, free: 9.656 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.558e-05/1.237, allocations: 5.172 kB / 1.384 GB, free: 9.652 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001655/1.237, allocations: 59.81 kB / 1.384 GB, free: 9.609 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.559e-05/1.237, allocations: 34.84 kB / 1.384 GB, free: 9.609 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003865/1.241, allocations: 2.145 MB / 1.386 GB, free: 8.582 MB / 1.076 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.00977/1.251, allocations: 4.912 MB / 1.391 GB, free: 4.734 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003545/1.254, allocations: 1.61 MB / 1.392 GB, free: 3.918 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001215/1.255, allocations: 0.5935 MB / 1.393 GB, free: 3.613 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/1.255, allocations: 58.91 kB / 1.393 GB, free: 3.582 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001873/1.257, allocations: 0.9388 MB / 1.394 GB, free: 2.996 MB / 1.076 GB Notification: Performance of pre-optimization done (n=154): time 5.039e-06/1.257, allocations: 3.562 kB / 1.394 GB, free: 2.996 MB / 1.076 GB Notification: Performance of matching and sorting (n=154): time 0.006662/1.264, allocations: 2.373 MB / 1.396 GB, free: 1.723 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001771/1.264, allocations: 359.1 kB / 1.396 GB, free: 1.305 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/1.266, allocations: 1.158 MB / 1.398 GB, free: 0.6641 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001512/1.266, allocations: 62.17 kB / 1.398 GB, free: 0.6055 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006157/1.267, allocations: 0.6626 MB / 1.398 GB, free: 20 kB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004684/1.267, allocations: 495.7 kB / 1.399 GB, free: 15.59 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004658/1.268, allocations: 283.7 kB / 1.399 GB, free: 15.43 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.268, allocations: 354.8 kB / 1.399 GB, free: 15.09 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/1.269, allocations: 0.4929 MB / 1.4 GB, free: 14.84 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/1.27, allocations: 0.7203 MB / 1.4 GB, free: 14.36 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002266/1.273, allocations: 1.19 MB / 1.402 GB, free: 13.69 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.575e-06/1.273, allocations: 2.719 kB / 1.402 GB, free: 13.69 MB / 1.092 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003999/1.277, allocations: 1.589 MB / 1.403 GB, free: 12.88 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/1.277, allocations: 12.19 kB / 1.403 GB, free: 12.88 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/1.277, allocations: 3.656 kB / 1.403 GB, free: 12.88 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/1.278, allocations: 169.9 kB / 1.403 GB, free: 12.79 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/1.279, allocations: 308.4 kB / 1.404 GB, free: 12.71 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004057/1.283, allocations: 3.279 MB / 1.407 GB, free: 9.488 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/1.285, allocations: 186.6 kB / 1.407 GB, free: 9.367 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001783/1.285, allocations: 64.14 kB / 1.407 GB, free: 9.344 MB / 1.092 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.0009903/1.286, allocations: 407 kB / 1.408 GB, free: 9.031 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006571/1.287, allocations: 166 kB / 1.408 GB, free: 8.867 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005386/1.292, allocations: 2.171 MB / 1.41 GB, free: 6.676 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-05/1.292, allocations: 23.98 kB / 1.41 GB, free: 6.652 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.609e-06/1.292, allocations: 1.219 kB / 1.41 GB, free: 6.652 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.941e-05/1.292, allocations: 11.91 kB / 1.41 GB, free: 6.641 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003127/1.295, allocations: 1.621 MB / 1.411 GB, free: 4.961 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.692e-05/1.295, allocations: 0 / 1.411 GB, free: 4.961 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/1.297, allocations: 291.6 kB / 1.412 GB, free: 4.676 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009089/1.298, allocations: 145.6 kB / 1.412 GB, free: 4.527 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001542/1.298, allocations: 51.95 kB / 1.412 GB, free: 4.477 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003944/1.302, allocations: 3.343 MB / 1.415 GB, free: 0.8438 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.302, allocations: 4.031 kB / 1.415 GB, free: 0.8398 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004546/1.306, allocations: 1.823 MB / 1.417 GB, free: 14.99 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/1.307, allocations: 474.4 kB / 1.417 GB, free: 14.5 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004064/1.308, allocations: 32 kB / 1.417 GB, free: 14.47 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/1.309, allocations: 129.5 kB / 1.418 GB, free: 14.35 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003064/1.309, allocations: 146.4 kB / 1.418 GB, free: 14.21 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/1.31, allocations: 71.95 kB / 1.418 GB, free: 14.14 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0013/1.311, allocations: 0.8108 MB / 1.419 GB, free: 13.32 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.5e-07/1.311, allocations: 0 / 1.419 GB, free: 13.32 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001637/1.313, allocations: 0.5183 MB / 1.419 GB, free: 12.8 MB / 1.107 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.005759/1.318, allocations: 2.921 MB / 1.422 GB, free: 10.03 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.003415/1.322, allocations: 1.618 MB / 1.423 GB, free: 8.387 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.322, allocations: 0 / 1.423 GB, free: 8.387 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001949/1.324, allocations: 1.043 MB / 1.424 GB, free: 7.32 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003058/1.327, allocations: 0.582 MB / 1.425 GB, free: 6.773 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02171/1.349, allocations: 11.17 MB / 1.436 GB, free: 11.4 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/1.35, allocations: 1.337 MB / 1.437 GB, free: 10.04 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001867/1.352, allocations: 0.5204 MB / 1.438 GB, free: 9.508 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/1.353, allocations: 0.7335 MB / 1.438 GB, free: 8.773 MB / 1.123 GB Notification: Performance of SimCode: time 7.52e-07/1.353, allocations: 3.938 kB / 1.438 GB, free: 8.77 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08139/1.434, allocations: 40.59 MB / 1.478 GB, free: 0.6328 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/15.73, allocations: 6.75 kB / 1.478 GB, free: 0.6289 MB / 1.154 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches