Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.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.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|eas.pWin|sou.pWin|wes.pWin|nor.alpha|eas.alpha|sou.alpha|wes.alpha",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") translateModel(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|eas.pWin|sou.pWin|wes.pWin|nor.alpha|eas.alpha|sou.alpha|wes.alpha",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 109 kB / 16.41 MB, free: 6.449 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.002102/0.002102, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.495/1.495, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.761/2.761, allocations: 474.5 MB / 0.7477 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 68.12 kB / 1.073 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8247/0.8266, allocations: 160.3 MB / 1.229 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.2009/1.028, allocations: 168.4 MB / 1.394 GB, free: 1.852 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02562/1.053, allocations: 17.35 MB / 1.411 GB, free: 460 kB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001852/1.055, allocations: 31.81 kB / 1.411 GB, free: 428 kB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002047/1.057, allocations: 0.5973 MB / 1.411 GB, free: 15.82 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00582/1.063, allocations: 1.815 MB / 1.413 GB, free: 14 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004089/1.067, allocations: 1.447 MB / 1.414 GB, free: 12.57 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004577/1.072, allocations: 2.891 MB / 1.417 GB, free: 9.664 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003372/1.075, allocations: 1.952 MB / 1.419 GB, free: 7.66 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005148/1.08, allocations: 1.474 MB / 1.421 GB, free: 6.227 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002109/1.082, allocations: 1.117 MB / 1.422 GB, free: 5.105 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0007274/1.083, allocations: 224 kB / 1.422 GB, free: 4.887 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003787/1.087, allocations: 1.56 MB / 1.423 GB, free: 3.324 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000937/1.088, allocations: 0.7985 MB / 1.424 GB, free: 2.523 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001696/1.09, allocations: 1.22 MB / 1.425 GB, free: 1.297 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.005711/1.095, allocations: 3.619 MB / 1.429 GB, free: 13.66 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/1.095, allocations: 0 / 1.429 GB, free: 13.66 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.284e-06/1.095, allocations: 0 / 1.429 GB, free: 13.66 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.106e-05/1.096, allocations: 0 / 1.429 GB, free: 13.66 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.005355/1.101, allocations: 2.856 MB / 1.432 GB, free: 10.74 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/1.101, allocations: 8.031 kB / 1.432 GB, free: 10.73 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003705/1.105, allocations: 0.576 MB / 1.432 GB, free: 10.16 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002724/1.107, allocations: 1.644 MB / 1.434 GB, free: 8.461 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/1.108, allocations: 131.4 kB / 1.434 GB, free: 8.332 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/1.108, allocations: 164 kB / 1.434 GB, free: 8.172 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003811/1.112, allocations: 1.968 MB / 1.436 GB, free: 6.152 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/1.112, allocations: 0 / 1.436 GB, free: 6.152 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001783/1.112, allocations: 75.94 kB / 1.436 GB, free: 6.078 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.804e-05/1.112, allocations: 40 kB / 1.436 GB, free: 6.039 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003999/1.116, allocations: 2.117 MB / 1.438 GB, free: 3.918 MB / 1.154 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.0107/1.127, allocations: 6.225 MB / 1.444 GB, free: 13.35 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003755/1.13, allocations: 2.117 MB / 1.446 GB, free: 11.16 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001567/1.132, allocations: 0.7803 MB / 1.447 GB, free: 10.38 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006739/1.133, allocations: 429.6 kB / 1.448 GB, free: 9.883 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001969/1.135, allocations: 1.009 MB / 1.449 GB, free: 8.855 MB / 1.17 GB Notification: Performance of pre-optimization done (n=146): time 3.015e-06/1.135, allocations: 0 / 1.449 GB, free: 8.855 MB / 1.17 GB Notification: Performance of matching and sorting (n=146): time 0.007432/1.142, allocations: 3.001 MB / 1.451 GB, free: 5.742 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001562/1.142, allocations: 197.2 kB / 1.452 GB, free: 5.504 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002803/1.145, allocations: 1.801 MB / 1.453 GB, free: 3.691 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001931/1.145, allocations: 65.64 kB / 1.453 GB, free: 3.621 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009035/1.146, allocations: 0.852 MB / 1.454 GB, free: 2.758 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005545/1.147, allocations: 0.4996 MB / 1.455 GB, free: 2.254 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004751/1.147, allocations: 258.8 kB / 1.455 GB, free: 1.996 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000207/1.147, allocations: 361.8 kB / 1.455 GB, free: 1.637 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/1.149, allocations: 0.6077 MB / 1.456 GB, free: 1.027 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001488/1.15, allocations: 0.8053 MB / 1.457 GB, free: 176 kB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0027/1.153, allocations: 1.36 MB / 1.458 GB, free: 14.8 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/1.153, allocations: 0 / 1.458 GB, free: 14.8 MB / 1.186 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004528/1.158, allocations: 1.851 MB / 1.46 GB, free: 12.93 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/1.158, allocations: 7.938 kB / 1.46 GB, free: 12.92 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.158, allocations: 0 / 1.46 GB, free: 12.92 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/1.159, allocations: 212.1 kB / 1.46 GB, free: 12.7 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/1.16, allocations: 339.6 kB / 1.46 GB, free: 12.36 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007511/1.168, allocations: 7.322 MB / 1.468 GB, free: 4.336 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/1.17, allocations: 176.8 kB / 1.468 GB, free: 4.164 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001736/1.17, allocations: 55.95 kB / 1.468 GB, free: 4.109 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,$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 (153): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001084/1.171, allocations: 494.4 kB / 1.468 GB, free: 3.617 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004335/1.171, allocations: 190.8 kB / 1.468 GB, free: 3.43 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005025/1.177, allocations: 2.137 MB / 1.471 GB, free: 1.262 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/1.177, allocations: 20.03 kB / 1.471 GB, free: 1.242 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/1.177, allocations: 4 kB / 1.471 GB, free: 1.238 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/1.177, allocations: 7.969 kB / 1.471 GB, free: 1.23 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007748/1.184, allocations: 4.014 MB / 1.474 GB, free: 13.14 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/1.184, allocations: 7.922 kB / 1.474 GB, free: 13.13 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/1.186, allocations: 323.5 kB / 1.475 GB, free: 12.81 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008972/1.187, allocations: 196.1 kB / 1.475 GB, free: 12.61 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/1.187, allocations: 39.97 kB / 1.475 GB, free: 12.57 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006992/1.194, allocations: 7.352 MB / 1.482 GB, free: 4.508 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/1.194, allocations: 3.938 kB / 1.482 GB, free: 4.504 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004713/1.199, allocations: 2.017 MB / 1.484 GB, free: 2.449 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/1.2, allocations: 491.2 kB / 1.485 GB, free: 1.949 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002519/1.2, allocations: 28 kB / 1.485 GB, free: 1.922 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/1.201, allocations: 98.89 kB / 1.485 GB, free: 1.828 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000282/1.202, allocations: 125.1 kB / 1.485 GB, free: 1.707 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001699/1.202, allocations: 75.95 kB / 1.485 GB, free: 1.633 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.00185/1.204, allocations: 1.293 MB / 1.486 GB, free: 352 kB / 1.201 GB Notification: Performance of sort global known variables: time 1.71e-07/1.204, allocations: 0 / 1.486 GB, free: 352 kB / 1.201 GB Notification: Performance of remove unused functions: time 0.001951/1.206, allocations: 0.686 MB / 1.487 GB, free: 15.66 MB / 1.217 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,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002468/1.208, allocations: 0.7689 MB / 1.488 GB, free: 15.07 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.004047/1.212, allocations: 2.105 MB / 1.49 GB, free: 12.9 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/1.212, allocations: 8.5 kB / 1.49 GB, free: 12.89 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002339/1.214, allocations: 1.426 MB / 1.491 GB, free: 11.4 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/1.217, allocations: 0.5481 MB / 1.492 GB, free: 10.88 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007569/1.225, allocations: 3.887 MB / 1.495 GB, free: 6.945 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001375/1.226, allocations: 1.533 MB / 1.497 GB, free: 5.379 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001923/1.228, allocations: 0.497 MB / 1.497 GB, free: 4.875 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005162/1.228, allocations: 175.4 kB / 1.498 GB, free: 4.703 MB / 1.217 GB Notification: Performance of SimCode: time 8.12e-07/1.228, allocations: 0 / 1.498 GB, free: 4.703 MB / 1.217 GB Notification: Performance of Templates: time 0.06077/1.289, allocations: 32.59 MB / 1.529 GB, free: 4.441 MB / 1.248 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches