Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001378/0.001378, allocations: 112.6 kB / 16.37 MB, free: 6 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.001407/0.001407, allocations: 196 kB / 17.31 MB, free: 5.613 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.524/2.524, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 61.69 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3201, allocations: 151.6 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.9022/1.222, allocations: 168.5 MB / 1.183 GB, free: 6.699 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02489/1.247, allocations: 17.35 MB / 1.2 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002795/1.25, allocations: 35.69 kB / 1.2 GB, free: 8.672 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002112/1.252, allocations: 0.5672 MB / 1.201 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006816/1.259, allocations: 1.785 MB / 1.203 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004299/1.264, allocations: 1.447 MB / 1.204 GB, free: 5.762 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004804/1.268, allocations: 2.889 MB / 1.207 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002923/1.271, allocations: 1.936 MB / 1.209 GB, free: 2.754 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004628/1.276, allocations: 1.432 MB / 1.21 GB, free: 1.957 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002085/1.278, allocations: 1.119 MB / 1.211 GB, free: 1.207 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004085/1.278, allocations: 223.7 kB / 1.211 GB, free: 1.207 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003981/1.282, allocations: 1.553 MB / 1.213 GB, free: 476 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0008096/1.283, allocations: 0.7905 MB / 1.214 GB, free: 15.91 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001611/1.285, allocations: 1.227 MB / 1.215 GB, free: 15.05 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.006355/1.291, allocations: 3.601 MB / 1.218 GB, free: 12.5 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/1.291, allocations: 7.984 kB / 1.218 GB, free: 12.49 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.314e-06/1.291, allocations: 0 / 1.218 GB, free: 12.49 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.268e-05/1.291, allocations: 0 / 1.218 GB, free: 12.49 MB / 0.92 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.00562/1.297, allocations: 2.769 MB / 1.221 GB, free: 9.66 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/1.297, allocations: 16.91 kB / 1.221 GB, free: 9.645 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003719/1.301, allocations: 0.5551 MB / 1.222 GB, free: 9.086 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003048/1.304, allocations: 1.635 MB / 1.223 GB, free: 7.398 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/1.304, allocations: 131.4 kB / 1.223 GB, free: 7.27 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002194/1.304, allocations: 168 kB / 1.224 GB, free: 7.105 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003519/1.308, allocations: 1.952 MB / 1.225 GB, free: 5.102 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/1.308, allocations: 4 kB / 1.225 GB, free: 5.098 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/1.308, allocations: 72 kB / 1.226 GB, free: 5.027 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-05/1.308, allocations: 40 kB / 1.226 GB, free: 4.988 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003381/1.311, allocations: 2.12 MB / 1.228 GB, free: 2.863 MB / 0.92 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.01011/1.322, allocations: 6.2 MB / 1.234 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003251/1.325, allocations: 2.136 MB / 1.236 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/1.326, allocations: 0.773 MB / 1.237 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005995/1.327, allocations: 425.6 kB / 1.237 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001757/1.328, allocations: 1.021 MB / 1.238 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=146): time 2.956e-06/1.328, allocations: 4 kB / 1.238 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of matching and sorting (n=146): time 0.006638/1.335, allocations: 2.989 MB / 1.241 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/1.335, allocations: 201.2 kB / 1.241 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002651/1.338, allocations: 1.801 MB / 1.243 GB, free: 2.629 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002819/1.338, allocations: 57.7 kB / 1.243 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007659/1.339, allocations: 0.8428 MB / 1.244 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004974/1.339, allocations: 485 kB / 1.244 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004047/1.34, allocations: 262.7 kB / 1.244 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.34, allocations: 357.9 kB / 1.245 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/1.341, allocations: 0.6038 MB / 1.245 GB, free: 8 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/1.342, allocations: 0.8132 MB / 1.246 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002293/1.345, allocations: 1.353 MB / 1.247 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.345, allocations: 0 / 1.247 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004157/1.349, allocations: 1.838 MB / 1.249 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/1.349, allocations: 7.938 kB / 1.249 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/1.349, allocations: 4 kB / 1.249 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/1.35, allocations: 208.2 kB / 1.249 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/1.352, allocations: 339.5 kB / 1.25 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006157/1.358, allocations: 7.32 MB / 1.257 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/1.36, allocations: 177 kB / 1.257 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/1.36, allocations: 56.02 kB / 1.257 GB, free: 3.102 MB / 0.9512 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.001109/1.361, allocations: 491.2 kB / 1.258 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004572/1.362, allocations: 177.8 kB / 1.258 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004322/1.366, allocations: 2.141 MB / 1.26 GB, free: 272 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/1.366, allocations: 20 kB / 1.26 GB, free: 252 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.366, allocations: 3.938 kB / 1.26 GB, free: 248 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/1.366, allocations: 11.97 kB / 1.26 GB, free: 236 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006893/1.373, allocations: 4.002 MB / 1.264 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/1.373, allocations: 0 / 1.264 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/1.374, allocations: 331.5 kB / 1.264 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008302/1.375, allocations: 192.1 kB / 1.264 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/1.375, allocations: 47.95 kB / 1.264 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005706/1.381, allocations: 7.352 MB / 1.272 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.381, allocations: 7.922 kB / 1.272 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004342/1.385, allocations: 2.012 MB / 1.274 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/1.387, allocations: 466.4 kB / 1.274 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002579/1.387, allocations: 28 kB / 1.274 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/1.388, allocations: 113.6 kB / 1.274 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002773/1.388, allocations: 109.2 kB / 1.274 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/1.389, allocations: 71.94 kB / 1.274 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001633/1.39, allocations: 1.289 MB / 1.276 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.874e-06/1.39, allocations: 3.938 kB / 1.276 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002051/1.392, allocations: 0.6898 MB / 1.276 GB, free: 14.69 MB / 0.9825 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.00185/1.394, allocations: 0.7522 MB / 1.277 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003586/1.398, allocations: 2.106 MB / 1.279 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.398, allocations: 0.5625 kB / 1.279 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002161/1.4, allocations: 1.43 MB / 1.28 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00256/1.402, allocations: 0.5553 MB / 1.281 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00681/1.409, allocations: 3.826 MB / 1.285 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/1.41, allocations: 1.533 MB / 1.286 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001994/1.412, allocations: 0.4892 MB / 1.287 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004943/1.413, allocations: 179.3 kB / 1.287 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of SimCode: time 1.273e-06/1.413, allocations: 0 / 1.287 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of Templates: time 0.05774/1.471, allocations: 32.11 MB / 1.318 GB, free: 4.086 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches