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.0007683/0.0007683, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004989/0.004989, allocations: 169.9 kB / 16.26 MB, free: 6.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.362/1.362, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.733/2.733, allocations: 462.6 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003306, allocations: 11.08 kB / 0.9028 GB, free: 36.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3092, allocations: 159.6 MB / 1.059 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1936/0.5029, allocations: 163.9 MB / 1.219 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02269/0.5256, allocations: 17.16 MB / 1.235 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.5272, allocations: 31.81 kB / 1.236 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00156/0.5287, allocations: 485 kB / 1.236 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005009/0.5338, allocations: 1.593 MB / 1.238 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003495/0.5373, allocations: 1.279 MB / 1.239 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004541/0.5418, allocations: 3.105 MB / 1.242 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002688/0.5445, allocations: 1.663 MB / 1.243 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005464/0.55, allocations: 1.111 MB / 1.245 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001794/0.5518, allocations: 0.9019 MB / 1.245 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002658/0.5521, allocations: 52 kB / 1.245 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003296/0.5554, allocations: 1.513 MB / 1.247 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006241/0.5561, allocations: 0.5993 MB / 1.248 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00121/0.5573, allocations: 1.023 MB / 1.249 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.5908/1.148, allocations: 3.413 MB / 1.252 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/1.148, allocations: 4.766 kB / 1.252 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.178e-06/1.148, allocations: 0 / 1.252 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001588/1.148, allocations: 0 / 1.252 GB, free: 10.05 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.005615/1.154, allocations: 2.327 MB / 1.254 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/1.154, allocations: 10.97 kB / 1.254 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004398/1.158, allocations: 0.5737 MB / 1.255 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004067/1.162, allocations: 1.605 MB / 1.256 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/1.163, allocations: 130.8 kB / 1.256 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004631/1.163, allocations: 165.5 kB / 1.257 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004747/1.168, allocations: 1.97 MB / 1.258 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.895e-05/1.168, allocations: 0 / 1.258 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002723/1.168, allocations: 75.22 kB / 1.259 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.52e-05/1.168, allocations: 43.69 kB / 1.259 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004159/1.172, allocations: 2.139 MB / 1.261 GB, free: 8.109 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.01268/1.185, allocations: 6.268 MB / 1.267 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004662/1.19, allocations: 2.143 MB / 1.269 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001774/1.192, allocations: 0.7849 MB / 1.27 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005577/1.192, allocations: 430.6 kB / 1.27 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002303/1.195, allocations: 1.031 MB / 1.271 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 5.16e-06/1.195, allocations: 0 / 1.271 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.00846/1.203, allocations: 3.029 MB / 1.274 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002662/1.203, allocations: 201 kB / 1.274 GB, free: 19.96 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003473/1.207, allocations: 1.828 MB / 1.276 GB, free: 19.79 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.00027/1.207, allocations: 57.22 kB / 1.276 GB, free: 19.76 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008109/1.208, allocations: 0.8509 MB / 1.277 GB, free: 19.46 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005085/1.208, allocations: 480.7 kB / 1.277 GB, free: 19.16 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002416/1.209, allocations: 106.8 kB / 1.277 GB, free: 19.14 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001848/1.209, allocations: 361.7 kB / 1.278 GB, free: 18.84 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/1.21, allocations: 0.6133 MB / 1.278 GB, free: 18.83 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/1.212, allocations: 0.8181 MB / 1.279 GB, free: 18.68 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002612/1.215, allocations: 1.382 MB / 1.281 GB, free: 18.62 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/1.215, allocations: 0 / 1.281 GB, free: 18.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004502/1.219, allocations: 1.858 MB / 1.282 GB, free: 18.41 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/1.219, allocations: 6.062 kB / 1.282 GB, free: 18.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/1.219, allocations: 2.609 kB / 1.282 GB, free: 18.41 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/1.22, allocations: 209.9 kB / 1.283 GB, free: 18.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/1.222, allocations: 345.3 kB / 1.283 GB, free: 18.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005674/1.228, allocations: 6.827 MB / 1.29 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/1.23, allocations: 200.2 kB / 1.29 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003155/1.23, allocations: 53.58 kB / 1.29 GB, free: 11.96 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.001566/1.232, allocations: 496.8 kB / 1.29 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007469/1.232, allocations: 190.3 kB / 1.29 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005357/1.238, allocations: 2.161 MB / 1.293 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/1.238, allocations: 21.08 kB / 1.293 GB, free: 11.56 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/1.238, allocations: 2.375 kB / 1.293 GB, free: 11.56 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-05/1.238, allocations: 5.766 kB / 1.293 GB, free: 11.56 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008042/1.246, allocations: 4.038 MB / 1.297 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/1.246, allocations: 0 / 1.297 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001487/1.248, allocations: 331.4 kB / 1.297 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009355/1.248, allocations: 209.3 kB / 1.297 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001419/1.249, allocations: 43.83 kB / 1.297 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005663/1.254, allocations: 6.855 MB / 1.304 GB, free: 4.699 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.254, allocations: 1.594 kB / 1.304 GB, free: 4.699 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004774/1.259, allocations: 2.031 MB / 1.306 GB, free: 4.375 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/1.26, allocations: 490.9 kB / 1.306 GB, free: 4.164 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005359/1.261, allocations: 29.48 kB / 1.306 GB, free: 4.164 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001769/1.263, allocations: 166 kB / 1.306 GB, free: 4.145 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/1.263, allocations: 118.6 kB / 1.307 GB, free: 4.141 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001819/1.263, allocations: 67.42 kB / 1.307 GB, free: 4.141 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001852/1.265, allocations: 1.308 MB / 1.308 GB, free: 4.031 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.265, allocations: 0 / 1.308 GB, free: 4.031 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002188/1.267, allocations: 0.6941 MB / 1.309 GB, free: 3.926 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.00192/1.269, allocations: 0.7532 MB / 1.309 GB, free: 3.707 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003653/1.273, allocations: 2.127 MB / 1.311 GB, free: 3.109 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/1.273, allocations: 0.5625 kB / 1.311 GB, free: 3.109 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002269/1.275, allocations: 1.438 MB / 1.313 GB, free: 2.543 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003258/1.278, allocations: 0.5067 MB / 1.313 GB, free: 2.504 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007591/1.286, allocations: 4.766 MB / 1.318 GB, free: 276 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/1.287, allocations: 1.543 MB / 1.319 GB, free: 15.52 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002461/1.29, allocations: 0.497 MB / 1.32 GB, free: 15.37 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006677/1.291, allocations: 175 kB / 1.32 GB, free: 15.36 MB / 1.029 GB Notification: Performance of SimCode: time 2.034e-06/1.291, allocations: 0 / 1.32 GB, free: 15.36 MB / 1.029 GB Notification: Performance of Templates: time 0.05224/1.343, allocations: 30.57 MB / 1.35 GB, free: 5.621 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