Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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_latest_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_latest_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.001118/0.001118, allocations: 115.2 kB / 16.37 MB, free: 6.016 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.001071/0.001071, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.46/2.46, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 69.05 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2903, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.7022/0.9926, allocations: 168.5 MB / 1.191 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02286/1.015, allocations: 17.34 MB / 1.208 GB, free: 14.72 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001969/1.018, allocations: 36.38 kB / 1.208 GB, free: 14.7 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001797/1.019, allocations: 0.5672 MB / 1.209 GB, free: 14.22 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00548/1.025, allocations: 1.783 MB / 1.21 GB, free: 12.88 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003688/1.029, allocations: 1.446 MB / 1.212 GB, free: 11.79 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003795/1.032, allocations: 2.893 MB / 1.215 GB, free: 10.05 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002514/1.035, allocations: 1.948 MB / 1.217 GB, free: 8.762 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003976/1.039, allocations: 1.426 MB / 1.218 GB, free: 7.965 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001674/1.041, allocations: 1.115 MB / 1.219 GB, free: 7.223 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003625/1.041, allocations: 225.2 kB / 1.219 GB, free: 7.219 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003489/1.044, allocations: 1.558 MB / 1.221 GB, free: 6.477 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000746/1.045, allocations: 0.7995 MB / 1.222 GB, free: 5.891 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001488/1.047, allocations: 1.236 MB / 1.223 GB, free: 4.648 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005696/1.052, allocations: 3.602 MB / 1.226 GB, free: 1.035 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.052, allocations: 0 / 1.226 GB, free: 1.035 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.124e-06/1.052, allocations: 0 / 1.226 GB, free: 1.035 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.735e-05/1.053, allocations: 0 / 1.226 GB, free: 1.035 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.005202/1.058, allocations: 2.787 MB / 1.229 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/1.058, allocations: 8.031 kB / 1.229 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003799/1.062, allocations: 0.5707 MB / 1.23 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002903/1.065, allocations: 1.643 MB / 1.231 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/1.065, allocations: 127.4 kB / 1.231 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002209/1.065, allocations: 172 kB / 1.232 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003536/1.068, allocations: 1.96 MB / 1.233 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/1.068, allocations: 0 / 1.233 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001582/1.069, allocations: 76 kB / 1.234 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.465e-05/1.069, allocations: 40 kB / 1.234 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003438/1.072, allocations: 2.12 MB / 1.236 GB, free: 7.363 MB / 0.9356 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.01003/1.082, allocations: 6.186 MB / 1.242 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003271/1.085, allocations: 2.132 MB / 1.244 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/1.087, allocations: 0.7691 MB / 1.245 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006105/1.087, allocations: 429.6 kB / 1.245 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001764/1.089, allocations: 1.017 MB / 1.246 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=146): time 3.626e-06/1.089, allocations: 3.938 kB / 1.246 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of matching and sorting (n=146): time 0.006701/1.096, allocations: 2.997 MB / 1.249 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/1.096, allocations: 197.2 kB / 1.249 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0023/1.098, allocations: 1.83 MB / 1.251 GB, free: 7.133 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001816/1.099, allocations: 53.7 kB / 1.251 GB, free: 7.074 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006657/1.099, allocations: 0.8508 MB / 1.252 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003764/1.1, allocations: 488.9 kB / 1.252 GB, free: 5.727 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003972/1.1, allocations: 254.8 kB / 1.252 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001246/1.1, allocations: 361.9 kB / 1.253 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/1.101, allocations: 0.6037 MB / 1.253 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/1.103, allocations: 0.8109 MB / 1.254 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002333/1.105, allocations: 1.36 MB / 1.255 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/1.105, allocations: 0 / 1.255 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00409/1.109, allocations: 1.838 MB / 1.257 GB, free: 420 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/1.109, allocations: 7.938 kB / 1.257 GB, free: 412 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/1.109, allocations: 0 / 1.257 GB, free: 412 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/1.11, allocations: 212.2 kB / 1.257 GB, free: 184 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/1.112, allocations: 339.5 kB / 1.258 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006314/1.118, allocations: 7.318 MB / 1.265 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/1.12, allocations: 178.7 kB / 1.265 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00025/1.12, allocations: 52.09 kB / 1.265 GB, free: 7.602 MB / 0.9669 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.001144/1.121, allocations: 499.1 kB / 1.266 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005353/1.122, allocations: 181.8 kB / 1.266 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004686/1.127, allocations: 2.144 MB / 1.268 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/1.127, allocations: 16 kB / 1.268 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/1.127, allocations: 0 / 1.268 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/1.127, allocations: 7.969 kB / 1.268 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007361/1.134, allocations: 4.01 MB / 1.272 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/1.134, allocations: 0 / 1.272 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/1.136, allocations: 327.5 kB / 1.272 GB, free: 328 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009203/1.137, allocations: 204.1 kB / 1.272 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/1.137, allocations: 39.97 kB / 1.272 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005749/1.142, allocations: 7.361 MB / 1.28 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.142, allocations: 7.969 kB / 1.28 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004397/1.147, allocations: 2.008 MB / 1.282 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/1.148, allocations: 470.5 kB / 1.282 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003877/1.148, allocations: 39.86 kB / 1.282 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/1.15, allocations: 111.1 kB / 1.282 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002769/1.15, allocations: 113.1 kB / 1.282 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001985/1.15, allocations: 71.94 kB / 1.282 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002015/1.153, allocations: 1.31 MB / 1.284 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/1.153, allocations: 0 / 1.284 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00198/1.155, allocations: 0.6782 MB / 1.284 GB, free: 3.152 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.001917/1.156, allocations: 0.7593 MB / 1.285 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003726/1.16, allocations: 2.098 MB / 1.287 GB, free: 420 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/1.16, allocations: 4.562 kB / 1.287 GB, free: 416 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002168/1.162, allocations: 1.426 MB / 1.288 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/1.165, allocations: 0.5524 MB / 1.289 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007158/1.172, allocations: 3.852 MB / 1.293 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/1.174, allocations: 1.545 MB / 1.294 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001876/1.176, allocations: 0.4931 MB / 1.295 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005922/1.176, allocations: 175.4 kB / 1.295 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of SimCode: time 8.21e-07/1.176, allocations: 0 / 1.295 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of Templates: time 0.05393/1.23, allocations: 32.14 MB / 1.326 GB, free: 8.461 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches