Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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: translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDatInpCon.HGloHor_in|weaDatInpCon.weaBus.HDifHor|weaDatInpCon.weaBus.HDirNor",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDatInpCon.HGloHor_in|weaDatInpCon.weaBus.HDifHor|weaDatInpCon.weaBus.HDirNor",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004676/0.004676, allocations: 97.67 kB / 15.73 MB, free: 5.988 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.001134/0.001134, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.744/2.744, allocations: 472.6 MB / 0.7453 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.89 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3125, allocations: 159.9 MB / 1.226 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.00581/0.3184, allocations: 4.713 MB / 1.23 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.9136/1.232, allocations: 150.6 MB / 1.377 GB, free: 5.484 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008702/1.233, allocations: 19.31 kB / 1.377 GB, free: 5.477 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006209/1.234, allocations: 183.7 kB / 1.377 GB, free: 5.355 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001763/1.235, allocations: 0.5278 MB / 1.378 GB, free: 5.055 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002006/1.237, allocations: 0.8429 MB / 1.379 GB, free: 4.621 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00168/1.239, allocations: 1.389 MB / 1.38 GB, free: 3.91 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008015/1.24, allocations: 0.532 MB / 1.381 GB, free: 3.629 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007225/1.241, allocations: 479.2 kB / 1.381 GB, free: 3.395 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006399/1.241, allocations: 495.2 kB / 1.382 GB, free: 3.145 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001962/1.241, allocations: 109 kB / 1.382 GB, free: 3.145 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001735/1.243, allocations: 0.8741 MB / 1.383 GB, free: 2.844 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002807/1.243, allocations: 283.8 kB / 1.383 GB, free: 2.621 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005269/1.244, allocations: 0.5326 MB / 1.383 GB, free: 2.223 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00235/1.246, allocations: 1.798 MB / 1.385 GB, free: 0.9727 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.246, allocations: 0 / 1.385 GB, free: 0.9727 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.613e-06/1.246, allocations: 0 / 1.385 GB, free: 0.9727 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.828e-05/1.246, allocations: 2.969 kB / 1.385 GB, free: 0.9727 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.002696/1.249, allocations: 1.495 MB / 1.387 GB, free: 15.78 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/1.249, allocations: 9.438 kB / 1.387 GB, free: 15.78 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/1.25, allocations: 209.8 kB / 1.387 GB, free: 15.68 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/1.252, allocations: 0.7587 MB / 1.388 GB, free: 15.06 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.414e-05/1.252, allocations: 61.36 kB / 1.388 GB, free: 15.03 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/1.252, allocations: 73.16 kB / 1.388 GB, free: 15.01 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/1.253, allocations: 0.8977 MB / 1.389 GB, free: 14.41 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/1.253, allocations: 3.938 kB / 1.389 GB, free: 14.41 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.098e-05/1.254, allocations: 32.25 kB / 1.389 GB, free: 14.39 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/1.254, allocations: 18.59 kB / 1.389 GB, free: 14.39 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00202/1.256, allocations: 1.131 MB / 1.39 GB, free: 13.84 MB / 1.092 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.003939/1.26, allocations: 2.584 MB / 1.392 GB, free: 11.77 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/1.261, allocations: 0.8363 MB / 1.393 GB, free: 11.35 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007752/1.262, allocations: 328.1 kB / 1.393 GB, free: 11.19 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.283e-05/1.262, allocations: 35.62 kB / 1.393 GB, free: 11.17 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001106/1.263, allocations: 0.5364 MB / 1.394 GB, free: 10.83 MB / 1.092 GB Notification: Performance of pre-optimization done (n=82): time 3.266e-06/1.263, allocations: 0 / 1.394 GB, free: 10.83 MB / 1.092 GB Notification: Performance of matching and sorting (n=82): time 0.003731/1.267, allocations: 1.292 MB / 1.395 GB, free: 10.13 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/1.267, allocations: 193.8 kB / 1.395 GB, free: 9.906 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009296/1.268, allocations: 0.6418 MB / 1.396 GB, free: 9.535 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 8.024e-05/1.268, allocations: 42.2 kB / 1.396 GB, free: 9.492 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003434/1.269, allocations: 382.4 kB / 1.396 GB, free: 9.156 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/1.269, allocations: 275.6 kB / 1.397 GB, free: 8.918 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002801/1.269, allocations: 174.3 kB / 1.397 GB, free: 8.812 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001938/1.269, allocations: 397.4 kB / 1.397 GB, free: 8.434 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006965/1.27, allocations: 299 kB / 1.397 GB, free: 8.289 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008413/1.271, allocations: 396.7 kB / 1.398 GB, free: 8.059 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/1.272, allocations: 0.67 MB / 1.398 GB, free: 7.695 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/1.272, allocations: 0 / 1.398 GB, free: 7.695 MB / 1.092 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002457/1.275, allocations: 0.9277 MB / 1.399 GB, free: 7.215 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/1.275, allocations: 6.844 kB / 1.399 GB, free: 7.215 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/1.275, allocations: 0 / 1.399 GB, free: 7.215 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005727/1.275, allocations: 81.47 kB / 1.399 GB, free: 7.176 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007732/1.276, allocations: 177 kB / 1.4 GB, free: 7.129 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002208/1.278, allocations: 1.654 MB / 1.401 GB, free: 5.504 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/1.279, allocations: 105 kB / 1.401 GB, free: 5.438 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/1.28, allocations: 43.3 kB / 1.401 GB, free: 5.422 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,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 (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * 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.0006178/1.28, allocations: 272.8 kB / 1.402 GB, free: 5.207 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002952/1.281, allocations: 92.09 kB / 1.402 GB, free: 5.156 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003163/1.284, allocations: 1.202 MB / 1.403 GB, free: 4.488 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/1.284, allocations: 10.31 kB / 1.403 GB, free: 4.488 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.284, allocations: 0 / 1.403 GB, free: 4.488 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/1.284, allocations: 9.078 kB / 1.403 GB, free: 4.48 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/1.285, allocations: 0.9041 MB / 1.404 GB, free: 3.789 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/1.285, allocations: 3.984 kB / 1.404 GB, free: 3.785 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006678/1.286, allocations: 165.9 kB / 1.404 GB, free: 3.742 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004291/1.286, allocations: 74.56 kB / 1.404 GB, free: 3.703 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.608e-05/1.286, allocations: 33 kB / 1.404 GB, free: 3.68 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001945/1.288, allocations: 1.662 MB / 1.406 GB, free: 2.062 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.288, allocations: 1.594 kB / 1.406 GB, free: 2.062 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002362/1.291, allocations: 1.008 MB / 1.407 GB, free: 1.527 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005408/1.291, allocations: 293.1 kB / 1.407 GB, free: 1.27 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000221/1.292, allocations: 17.69 kB / 1.407 GB, free: 1.258 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007484/1.292, allocations: 74.67 kB / 1.407 GB, free: 1.219 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/1.292, allocations: 71.8 kB / 1.407 GB, free: 1.184 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-05/1.293, allocations: 40.47 kB / 1.407 GB, free: 1.168 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0007341/1.293, allocations: 459.1 kB / 1.408 GB, free: 0.9102 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.4e-07/1.293, allocations: 1.625 kB / 1.408 GB, free: 0.9102 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00108/1.294, allocations: 333.9 kB / 1.408 GB, free: 0.8125 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 5 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001602/1.296, allocations: 0.634 MB / 1.409 GB, free: 0.5 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002208/1.298, allocations: 0.9027 MB / 1.409 GB, free: 32 kB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.298, allocations: 0 / 1.409 GB, free: 32 kB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/1.299, allocations: 0.5533 MB / 1.41 GB, free: 15.72 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/1.301, allocations: 306.5 kB / 1.41 GB, free: 15.56 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/1.304, allocations: 1.679 MB / 1.412 GB, free: 14.55 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007057/1.305, allocations: 1.016 MB / 1.413 GB, free: 13.71 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0009157/1.305, allocations: 286.8 kB / 1.413 GB, free: 13.57 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003193/1.306, allocations: 110.2 kB / 1.413 GB, free: 13.5 MB / 1.107 GB Notification: Performance of SimCode: time 6.01e-07/1.306, allocations: 0 / 1.413 GB, free: 13.5 MB / 1.107 GB Notification: Performance of Templates: time 0.02953/1.335, allocations: 16.03 MB / 1.429 GB, free: 13.64 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches