Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 200.2 kB / 16.54 MB, free: 6.672 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.41/1.41, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.604/2.604, allocations: 437 MB / 0.7104 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00232/0.00232, allocations: 63.91 kB / 0.8692 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6567/0.659, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1688/0.8278, allocations: 168.5 MB / 1.182 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02115/0.849, allocations: 17.35 MB / 1.199 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/0.8506, allocations: 31.81 kB / 1.199 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001906/0.8525, allocations: 0.5661 MB / 1.199 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005121/0.8577, allocations: 1.785 MB / 1.201 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003537/0.8613, allocations: 1.434 MB / 1.202 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004663/0.8659, allocations: 2.86 MB / 1.205 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00277/0.8687, allocations: 1.948 MB / 1.207 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003928/0.8727, allocations: 1.421 MB / 1.209 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001537/0.8742, allocations: 1.12 MB / 1.21 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003465/0.8746, allocations: 223.9 kB / 1.21 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003086/0.8777, allocations: 1.525 MB / 1.211 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007027/0.8784, allocations: 0.7985 MB / 1.212 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.8796, allocations: 1.228 MB / 1.213 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004203/0.8838, allocations: 3.544 MB / 1.217 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.8838, allocations: 0 / 1.217 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8839, allocations: 0 / 1.217 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.929e-05/0.8839, allocations: 0 / 1.217 GB, free: 5.461 MB / 0.9669 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.004364/0.8883, allocations: 2.79 MB / 1.22 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.8883, allocations: 8.031 kB / 1.22 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003592/0.8919, allocations: 0.5551 MB / 1.22 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002197/0.8941, allocations: 1.604 MB / 1.222 GB, free: 392 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.8942, allocations: 135.4 kB / 1.222 GB, free: 256 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00021/0.8945, allocations: 172 kB / 1.222 GB, free: 84 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00324/0.8977, allocations: 1.96 MB / 1.224 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.8977, allocations: 0 / 1.224 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001628/0.8979, allocations: 76 kB / 1.224 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.03e-05/0.8979, allocations: 40 kB / 1.224 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003546/0.9015, allocations: 2.117 MB / 1.226 GB, free: 11.83 MB / 0.9825 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.00985/0.9114, allocations: 6.248 MB / 1.232 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003665/0.915, allocations: 2.129 MB / 1.234 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001536/0.9166, allocations: 0.7686 MB / 1.235 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006475/0.9173, allocations: 441.5 kB / 1.235 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001774/0.9191, allocations: 1.021 MB / 1.236 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 3.797e-06/0.9191, allocations: 3.938 kB / 1.236 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.007405/0.9265, allocations: 2.989 MB / 1.239 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001634/0.9267, allocations: 197.2 kB / 1.239 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003192/0.9299, allocations: 1.833 MB / 1.241 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001924/0.9301, allocations: 57.7 kB / 1.241 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007382/0.9308, allocations: 0.8431 MB / 1.242 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004089/0.9312, allocations: 477 kB / 1.243 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004003/0.9316, allocations: 262.7 kB / 1.243 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.9318, allocations: 357.9 kB / 1.243 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.933, allocations: 0.6077 MB / 1.244 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/0.9344, allocations: 0.8208 MB / 1.245 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002442/0.9368, allocations: 1.353 MB / 1.246 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.9368, allocations: 0 / 1.246 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004495/0.9413, allocations: 1.838 MB / 1.248 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/0.9414, allocations: 11.94 kB / 1.248 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.9414, allocations: 0 / 1.248 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/0.9426, allocations: 208.2 kB / 1.248 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/0.9441, allocations: 343.5 kB / 1.248 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.503/1.447, allocations: 7.326 MB / 1.255 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/1.449, allocations: 166.8 kB / 1.256 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/1.449, allocations: 57.25 kB / 1.256 GB, free: 226.4 MB / 0.9981 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.001004/1.45, allocations: 0.4923 MB / 1.256 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004002/1.451, allocations: 181.2 kB / 1.256 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005057/1.456, allocations: 2.144 MB / 1.258 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.279e-05/1.456, allocations: 19.72 kB / 1.258 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/1.456, allocations: 3.5 kB / 1.258 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.037e-05/1.456, allocations: 8.344 kB / 1.258 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00777/1.463, allocations: 4.02 MB / 1.262 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.453e-06/1.463, allocations: 0 / 1.262 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001601/1.465, allocations: 324.7 kB / 1.263 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009197/1.466, allocations: 195.9 kB / 1.263 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/1.466, allocations: 43.8 kB / 1.263 GB, free: 224.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004655/1.471, allocations: 7.35 MB / 1.27 GB, free: 217.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/1.471, allocations: 0.5625 kB / 1.27 GB, free: 217.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005082/1.476, allocations: 2.007 MB / 1.272 GB, free: 216.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008832/1.477, allocations: 475.7 kB / 1.272 GB, free: 216.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002588/1.477, allocations: 35.77 kB / 1.272 GB, free: 216 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/1.478, allocations: 113.9 kB / 1.273 GB, free: 216 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002835/1.479, allocations: 116 kB / 1.273 GB, free: 216 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001535/1.479, allocations: 69.23 kB / 1.273 GB, free: 216 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00174/1.481, allocations: 1.307 MB / 1.274 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.51e-07/1.481, allocations: 1.094 kB / 1.274 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001851/1.482, allocations: 0.6833 MB / 1.275 GB, free: 215.4 MB / 0.9981 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.001902/1.484, allocations: 0.757 MB / 1.275 GB, free: 215.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005801/1.49, allocations: 2.551 MB / 1.278 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/1.49, allocations: 2.781 kB / 1.278 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002151/1.492, allocations: 1.423 MB / 1.279 GB, free: 213.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002772/1.495, allocations: 0.5484 MB / 1.28 GB, free: 213.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007858/1.503, allocations: 3.905 MB / 1.284 GB, free: 211.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001428/1.504, allocations: 1.537 MB / 1.285 GB, free: 210.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002281/1.507, allocations: 0.4989 MB / 1.286 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004331/1.507, allocations: 172.5 kB / 1.286 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of SimCode: time 7.61e-07/1.507, allocations: 4 kB / 1.286 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.0465/1.554, allocations: 32.15 MB / 1.317 GB, free: 183.4 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches