Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001581/0.001581, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001772/0.001772, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.491/1.491, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.371/2.371, allocations: 390.2 MB / 0.6642 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.91 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7035/0.7047, allocations: 140.4 MB / 0.9489 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1851/0.8899, allocations: 164.9 MB / 1.11 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02508/0.915, allocations: 17.27 MB / 1.127 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002502/0.9176, allocations: 31.81 kB / 1.127 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002153/0.9198, allocations: 449.3 kB / 1.127 GB, free: 10.83 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00541/0.9252, allocations: 1.509 MB / 1.129 GB, free: 9.316 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004209/0.9295, allocations: 1.27 MB / 1.13 GB, free: 8.062 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004314/0.9338, allocations: 2.911 MB / 1.133 GB, free: 5.141 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003443/0.9372, allocations: 1.868 MB / 1.135 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005518/0.9428, allocations: 1.219 MB / 1.136 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001744/0.9445, allocations: 1.073 MB / 1.137 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000573/0.9451, allocations: 120 kB / 1.137 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003535/0.9487, allocations: 1.579 MB / 1.139 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0008676/0.9495, allocations: 0.7007 MB / 1.139 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001632/0.9512, allocations: 1.091 MB / 1.14 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004673/0.9559, allocations: 3.442 MB / 1.144 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.9559, allocations: 0 / 1.144 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9559, allocations: 0 / 1.144 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.674e-05/0.956, allocations: 4 kB / 1.144 GB, free: 10 MB / 0.9044 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.005752/0.9617, allocations: 2.751 MB / 1.146 GB, free: 7.191 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.9618, allocations: 15.97 kB / 1.146 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004/0.9658, allocations: 0.5589 MB / 1.147 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003796/0.9696, allocations: 1.608 MB / 1.148 GB, free: 4.953 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/0.9698, allocations: 127.4 kB / 1.149 GB, free: 4.828 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004077/0.9702, allocations: 172 kB / 1.149 GB, free: 4.66 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00385/0.9741, allocations: 1.952 MB / 1.151 GB, free: 2.656 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/0.9741, allocations: 0 / 1.151 GB, free: 2.656 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/0.9743, allocations: 72 kB / 1.151 GB, free: 2.586 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.62e-05/0.9744, allocations: 44 kB / 1.151 GB, free: 2.543 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003538/0.9779, allocations: 2.12 MB / 1.153 GB, free: 428 kB / 0.9044 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.009697/0.9876, allocations: 5.864 MB / 1.159 GB, free: 10.29 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00343/0.9911, allocations: 2.14 MB / 1.161 GB, free: 8.074 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/0.9924, allocations: 0.7725 MB / 1.161 GB, free: 7.301 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000594/0.993, allocations: 421.6 kB / 1.162 GB, free: 6.816 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00182/0.9948, allocations: 1.009 MB / 1.163 GB, free: 5.789 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 3.447e-06/0.9949, allocations: 0 / 1.163 GB, free: 5.789 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.007034/1.002, allocations: 2.989 MB / 1.166 GB, free: 2.684 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/1.002, allocations: 201.2 kB / 1.166 GB, free: 2.445 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002646/1.005, allocations: 1.83 MB / 1.168 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001811/1.005, allocations: 57.7 kB / 1.168 GB, free: 0.543 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007708/1.006, allocations: 0.8508 MB / 1.169 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004539/1.006, allocations: 485 kB / 1.169 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004334/1.007, allocations: 254.8 kB / 1.169 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001467/1.007, allocations: 357.9 kB / 1.17 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/1.008, allocations: 0.6038 MB / 1.17 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001414/1.009, allocations: 0.8169 MB / 1.171 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002803/1.012, allocations: 1.357 MB / 1.172 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/1.012, allocations: 0 / 1.172 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00413/1.016, allocations: 1.838 MB / 1.174 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/1.016, allocations: 7.938 kB / 1.174 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.016, allocations: 4.062 kB / 1.174 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/1.017, allocations: 216 kB / 1.174 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/1.019, allocations: 335.6 kB / 1.175 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006358/1.026, allocations: 6.816 MB / 1.181 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/1.027, allocations: 174.8 kB / 1.182 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001661/1.028, allocations: 63.95 kB / 1.182 GB, free: 1.602 MB / 0.9356 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.001001/1.029, allocations: 487.1 kB / 1.182 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005204/1.029, allocations: 181.8 kB / 1.182 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004928/1.034, allocations: 2.145 MB / 1.184 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/1.034, allocations: 20 kB / 1.184 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/1.034, allocations: 4 kB / 1.184 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/1.034, allocations: 7.969 kB / 1.184 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007707/1.042, allocations: 4.016 MB / 1.188 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/1.042, allocations: 8 kB / 1.188 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/1.043, allocations: 319.5 kB / 1.189 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009454/1.044, allocations: 212.1 kB / 1.189 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/1.044, allocations: 47.89 kB / 1.189 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006012/1.05, allocations: 6.835 MB / 1.196 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/1.05, allocations: 0 / 1.196 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004422/1.055, allocations: 2.018 MB / 1.197 GB, free: 500 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/1.056, allocations: 470.3 kB / 1.198 GB, free: 8 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004013/1.056, allocations: 36 kB / 1.198 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00154/1.058, allocations: 139.8 kB / 1.198 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002711/1.058, allocations: 113.1 kB / 1.198 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001872/1.058, allocations: 67.95 kB / 1.198 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001992/1.06, allocations: 1.306 MB / 1.2 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/1.06, allocations: 0 / 1.2 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001987/1.062, allocations: 0.6663 MB / 1.2 GB, free: 13.69 MB / 0.9669 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.002037/1.065, allocations: 0.7507 MB / 1.201 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003764/1.068, allocations: 2.102 MB / 1.203 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/1.068, allocations: 8.547 kB / 1.203 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002262/1.071, allocations: 1.43 MB / 1.204 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/1.073, allocations: 0.4952 MB / 1.205 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008776/1.082, allocations: 4.856 MB / 1.21 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/1.083, allocations: 1.541 MB / 1.211 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0022/1.086, allocations: 0.489 MB / 1.212 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006123/1.086, allocations: 175.3 kB / 1.212 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of SimCode: time 6.12e-07/1.086, allocations: 0 / 1.212 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of Templates: time 0.05353/1.14, allocations: 30.08 MB / 1.241 GB, free: 4.082 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches