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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001451/0.001451, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001759/0.001759, allocations: 198 kB / 16.25 MB, free: 6.625 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.333/1.333, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.701/2.701, allocations: 461.9 MB / 0.7343 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.44 kB / 0.8986 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.296, allocations: 157.4 MB / 1.052 GB, free: 8.797 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1891/0.4852, allocations: 166.2 MB / 1.215 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02171/0.5069, allocations: 17.16 MB / 1.231 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/0.5088, allocations: 31.81 kB / 1.231 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001678/0.5105, allocations: 497 kB / 1.232 GB, free: 284 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005572/0.5161, allocations: 1.624 MB / 1.233 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003607/0.5197, allocations: 1.299 MB / 1.235 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003621/0.5234, allocations: 2.891 MB / 1.237 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002562/0.526, allocations: 1.937 MB / 1.239 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005198/0.5312, allocations: 1.435 MB / 1.241 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.5326, allocations: 1.156 MB / 1.242 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000286/0.5329, allocations: 220 kB / 1.242 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002775/0.5357, allocations: 1.564 MB / 1.244 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006204/0.5363, allocations: 0.8063 MB / 1.244 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00125/0.5376, allocations: 1.232 MB / 1.246 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.6704/1.208, allocations: 3.603 MB / 1.249 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.888e-06/1.208, allocations: 3.562 kB / 1.249 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.074e-06/1.208, allocations: 1.062 kB / 1.249 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.732e-05/1.208, allocations: 2.25 kB / 1.249 GB, free: 11.61 MB / 0.9981 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.005042/1.213, allocations: 2.777 MB / 1.252 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/1.213, allocations: 12.41 kB / 1.252 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003967/1.217, allocations: 0.5602 MB / 1.252 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00275/1.22, allocations: 1.601 MB / 1.254 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.948e-05/1.22, allocations: 129.3 kB / 1.254 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002053/1.22, allocations: 169.8 kB / 1.254 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003642/1.224, allocations: 1.958 MB / 1.256 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.72e-05/1.224, allocations: 3.688 kB / 1.256 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001686/1.224, allocations: 73.73 kB / 1.256 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.991e-05/1.224, allocations: 40.66 kB / 1.256 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003457/1.228, allocations: 2.113 MB / 1.258 GB, free: 9.57 MB / 0.9981 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.01015/1.238, allocations: 6.235 MB / 1.264 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003751/1.242, allocations: 2.134 MB / 1.267 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/1.243, allocations: 0.7741 MB / 1.267 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005783/1.244, allocations: 429.5 kB / 1.268 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002036/1.246, allocations: 1.018 MB / 1.269 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 3.396e-06/1.246, allocations: 6.125 kB / 1.269 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.008368/1.254, allocations: 2.994 MB / 1.272 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.378e-05/1.254, allocations: 200.5 kB / 1.272 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003033/1.257, allocations: 1.828 MB / 1.274 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003228/1.257, allocations: 62.92 kB / 1.274 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007395/1.258, allocations: 0.8424 MB / 1.274 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004226/1.259, allocations: 480.8 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004485/1.259, allocations: 258.7 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.866e-05/1.259, allocations: 354.5 kB / 1.276 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/1.26, allocations: 0.6053 MB / 1.276 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/1.262, allocations: 0.8165 MB / 1.277 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002539/1.264, allocations: 1.358 MB / 1.278 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.265, allocations: 0 / 1.278 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004415/1.269, allocations: 1.84 MB / 1.28 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/1.269, allocations: 5.969 kB / 1.28 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/1.269, allocations: 1.375 kB / 1.28 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/1.27, allocations: 207 kB / 1.28 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/1.272, allocations: 342.9 kB / 1.281 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005949/1.278, allocations: 7.34 MB / 1.288 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002334/1.28, allocations: 185.1 kB / 1.288 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001886/1.28, allocations: 59.05 kB / 1.288 GB, free: 13.12 MB / 1.014 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.001284/1.282, allocations: 492.6 kB / 1.288 GB, free: 13.01 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005433/1.282, allocations: 183.2 kB / 1.289 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004695/1.287, allocations: 2.147 MB / 1.291 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/1.287, allocations: 15.12 kB / 1.291 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/1.287, allocations: 6.906 kB / 1.291 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/1.287, allocations: 9.547 kB / 1.291 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008035/1.295, allocations: 4.011 MB / 1.295 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/1.295, allocations: 2.5 kB / 1.295 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/1.296, allocations: 325.2 kB / 1.295 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008521/1.297, allocations: 200.8 kB / 1.295 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001237/1.297, allocations: 38.84 kB / 1.295 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005889/1.303, allocations: 7.372 MB / 1.302 GB, free: 5.484 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.303, allocations: 0.9062 kB / 1.302 GB, free: 5.484 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004399/1.308, allocations: 2.011 MB / 1.304 GB, free: 5.172 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/1.309, allocations: 471.5 kB / 1.305 GB, free: 4.969 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003281/1.309, allocations: 33.09 kB / 1.305 GB, free: 4.965 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/1.311, allocations: 135.2 kB / 1.305 GB, free: 4.957 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002656/1.311, allocations: 117.5 kB / 1.305 GB, free: 4.957 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/1.311, allocations: 71.45 kB / 1.305 GB, free: 4.957 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001606/1.313, allocations: 1.305 MB / 1.306 GB, free: 4.848 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.313, allocations: 0 / 1.306 GB, free: 4.848 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002118/1.315, allocations: 0.7006 MB / 1.307 GB, free: 4.738 MB / 1.014 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.001814/1.317, allocations: 0.7424 MB / 1.308 GB, free: 4.551 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005409/1.322, allocations: 2.543 MB / 1.31 GB, free: 3.949 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/1.322, allocations: 2.875 kB / 1.31 GB, free: 3.949 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002163/1.324, allocations: 1.428 MB / 1.312 GB, free: 3.387 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002765/1.327, allocations: 0.5508 MB / 1.312 GB, free: 3.316 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007319/1.334, allocations: 4.75 MB / 1.317 GB, free: 1.145 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/1.336, allocations: 1.541 MB / 1.318 GB, free: 404 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002116/1.338, allocations: 0.4962 MB / 1.319 GB, free: 252 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005042/1.338, allocations: 174.5 kB / 1.319 GB, free: 244 kB / 1.014 GB Notification: Performance of SimCode: time 1.342e-06/1.338, allocations: 3 kB / 1.319 GB, free: 244 kB / 1.014 GB Notification: Performance of Templates: time 0.05046/1.389, allocations: 31.96 MB / 1.35 GB, free: 7.059 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 -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/jenkins/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