Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: 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_11_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_11_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.004974/0.004974, allocations: 97.66 kB / 15.73 MB, free: 6.059 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: 197.5 kB / 16.68 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.791/2.791, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 68.11 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3366, allocations: 159.1 MB / 1.221 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.9865/1.323, allocations: 168.9 MB / 1.386 GB, free: 1.676 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02678/1.35, allocations: 17.39 MB / 1.403 GB, free: 3.652 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002478/1.352, allocations: 31.47 kB / 1.403 GB, free: 3.641 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002401/1.355, allocations: 0.5911 MB / 1.403 GB, free: 3.141 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006276/1.361, allocations: 1.827 MB / 1.405 GB, free: 1.773 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004236/1.365, allocations: 1.452 MB / 1.406 GB, free: 0.6836 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004497/1.37, allocations: 2.884 MB / 1.409 GB, free: 14.95 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002971/1.373, allocations: 1.609 MB / 1.411 GB, free: 13.77 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00466/1.377, allocations: 1.474 MB / 1.412 GB, free: 12.96 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002199/1.38, allocations: 1.123 MB / 1.413 GB, free: 12.2 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0006952/1.38, allocations: 221 kB / 1.413 GB, free: 12.2 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003798/1.384, allocations: 1.555 MB / 1.415 GB, free: 11.46 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001074/1.385, allocations: 0.7943 MB / 1.416 GB, free: 10.9 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002292/1.387, allocations: 1.225 MB / 1.417 GB, free: 10.04 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.007121/1.395, allocations: 3.633 MB / 1.42 GB, free: 7.539 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/1.395, allocations: 0 / 1.42 GB, free: 7.539 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.525e-06/1.395, allocations: 0 / 1.42 GB, free: 7.539 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002228/1.395, allocations: 0 / 1.42 GB, free: 7.539 MB / 1.107 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.009012/1.404, allocations: 2.853 MB / 1.423 GB, free: 5.426 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/1.404, allocations: 10.34 kB / 1.423 GB, free: 5.426 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004277/1.408, allocations: 0.5604 MB / 1.424 GB, free: 5.148 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003209/1.411, allocations: 1.652 MB / 1.425 GB, free: 3.445 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/1.411, allocations: 135.4 kB / 1.426 GB, free: 3.312 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003861/1.412, allocations: 164 kB / 1.426 GB, free: 3.152 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00412/1.416, allocations: 1.961 MB / 1.428 GB, free: 1.141 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.931e-05/1.416, allocations: 0 / 1.428 GB, free: 1.141 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002393/1.416, allocations: 76 kB / 1.428 GB, free: 1.066 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.49e-05/1.416, allocations: 40 kB / 1.428 GB, free: 1.027 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003941/1.42, allocations: 2.124 MB / 1.43 GB, free: 14.9 MB / 1.123 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.01067/1.431, allocations: 6.198 MB / 1.436 GB, free: 8.355 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00349/1.434, allocations: 2.042 MB / 1.438 GB, free: 6.238 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/1.436, allocations: 0.7144 MB / 1.439 GB, free: 5.523 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006047/1.436, allocations: 429.6 kB / 1.439 GB, free: 5.027 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001904/1.438, allocations: 1.017 MB / 1.44 GB, free: 3.992 MB / 1.123 GB Notification: Performance of pre-optimization done (n=146): time 3.206e-06/1.438, allocations: 0 / 1.44 GB, free: 3.992 MB / 1.123 GB Notification: Performance of matching and sorting (n=146): time 0.007273/1.446, allocations: 2.997 MB / 1.443 GB, free: 0.8828 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/1.446, allocations: 197.2 kB / 1.443 GB, free: 0.6445 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00297/1.449, allocations: 1.805 MB / 1.445 GB, free: 14.82 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001861/1.449, allocations: 57.69 kB / 1.445 GB, free: 14.76 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000831/1.45, allocations: 0.8482 MB / 1.446 GB, free: 13.9 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004743/1.45, allocations: 0.5034 MB / 1.446 GB, free: 13.4 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004812/1.451, allocations: 258.8 kB / 1.446 GB, free: 13.14 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001317/1.451, allocations: 357.9 kB / 1.447 GB, free: 12.79 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/1.452, allocations: 0.5999 MB / 1.447 GB, free: 12.18 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/1.453, allocations: 0.8131 MB / 1.448 GB, free: 11.32 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002443/1.456, allocations: 1.36 MB / 1.45 GB, free: 9.949 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.456, allocations: 0 / 1.45 GB, free: 9.949 MB / 1.139 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00418/1.46, allocations: 1.835 MB / 1.451 GB, free: 8.09 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/1.46, allocations: 11.94 kB / 1.451 GB, free: 8.078 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/1.46, allocations: 0 / 1.451 GB, free: 8.078 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/1.461, allocations: 216.1 kB / 1.452 GB, free: 7.852 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/1.463, allocations: 339.6 kB / 1.452 GB, free: 7.52 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006146/1.469, allocations: 7.331 MB / 1.459 GB, free: 15.49 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/1.471, allocations: 181 kB / 1.459 GB, free: 15.32 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003026/1.471, allocations: 59.91 kB / 1.459 GB, free: 15.26 MB / 1.154 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.001286/1.472, allocations: 495.1 kB / 1.46 GB, free: 14.76 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006726/1.473, allocations: 190.8 kB / 1.46 GB, free: 14.57 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004984/1.478, allocations: 2.137 MB / 1.462 GB, free: 12.41 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/1.478, allocations: 12 kB / 1.462 GB, free: 12.39 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/1.478, allocations: 7.984 kB / 1.462 GB, free: 12.39 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.81e-05/1.478, allocations: 3.984 kB / 1.462 GB, free: 12.38 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008552/1.487, allocations: 4.002 MB / 1.466 GB, free: 8.301 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/1.487, allocations: 0 / 1.466 GB, free: 8.301 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/1.488, allocations: 327.5 kB / 1.466 GB, free: 7.98 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009477/1.489, allocations: 200.1 kB / 1.466 GB, free: 7.77 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001454/1.489, allocations: 39.97 kB / 1.466 GB, free: 7.73 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005979/1.495, allocations: 7.367 MB / 1.474 GB, free: 15.66 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.495, allocations: 3.938 kB / 1.474 GB, free: 15.66 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004669/1.5, allocations: 2.017 MB / 1.476 GB, free: 13.6 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/1.501, allocations: 487.2 kB / 1.476 GB, free: 13.11 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004905/1.501, allocations: 31.98 kB / 1.476 GB, free: 13.07 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/1.503, allocations: 105 kB / 1.476 GB, free: 12.97 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002939/1.503, allocations: 117.1 kB / 1.476 GB, free: 12.86 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002024/1.504, allocations: 71.94 kB / 1.476 GB, free: 12.79 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002051/1.506, allocations: 1.293 MB / 1.478 GB, free: 11.5 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.506, allocations: 0 / 1.478 GB, free: 11.5 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002239/1.508, allocations: 0.6899 MB / 1.478 GB, free: 10.81 MB / 1.17 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.002094/1.51, allocations: 0.7452 MB / 1.479 GB, free: 10.24 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003928/1.514, allocations: 2.059 MB / 1.481 GB, free: 8.117 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/1.514, allocations: 0.5625 kB / 1.481 GB, free: 8.113 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002235/1.516, allocations: 1.375 MB / 1.482 GB, free: 6.676 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002946/1.519, allocations: 0.5574 MB / 1.483 GB, free: 6.141 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007768/1.527, allocations: 3.876 MB / 1.487 GB, free: 2.227 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001591/1.528, allocations: 1.537 MB / 1.488 GB, free: 0.6562 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.002168/1.531, allocations: 0.5047 MB / 1.489 GB, free: 148 kB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006595/1.531, allocations: 171.4 kB / 1.489 GB, free: 15.98 MB / 1.186 GB Notification: Performance of SimCode: time 1.032e-06/1.531, allocations: 4 kB / 1.489 GB, free: 15.97 MB / 1.186 GB Notification: Performance of Templates: time 0.05792/1.589, allocations: 32.62 MB / 1.521 GB, free: 15.71 MB / 1.217 GB make -j1 -f Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile (rm -f Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches