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.001566/0.001566, allocations: 100.1 kB / 15.88 MB, free: 12 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.001857/0.001857, allocations: 199.8 kB / 16.79 MB, free: 6.809 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.373/1.373, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.739/2.739, allocations: 461.8 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 65.58 kB / 0.899 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3403, allocations: 157.4 MB / 1.053 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1797/0.5201, allocations: 166.1 MB / 1.215 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02143/0.5415, allocations: 17.42 MB / 1.232 GB, free: 140 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001841/0.5434, allocations: 31.81 kB / 1.232 GB, free: 108 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001902/0.5453, allocations: 477 kB / 1.232 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005078/0.5505, allocations: 1.592 MB / 1.234 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004273/0.5548, allocations: 1.277 MB / 1.235 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004341/0.5591, allocations: 3.113 MB / 1.238 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002559/0.5617, allocations: 1.802 MB / 1.24 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005398/0.5671, allocations: 1.271 MB / 1.241 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001733/0.5689, allocations: 1.099 MB / 1.242 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004809/0.5694, allocations: 120 kB / 1.242 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003488/0.5729, allocations: 1.583 MB / 1.244 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007947/0.5737, allocations: 0.6969 MB / 1.245 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001514/0.5752, allocations: 1.131 MB / 1.246 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.701/1.276, allocations: 2.665 MB / 1.248 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/1.276, allocations: 0.9375 kB / 1.248 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.934e-06/1.276, allocations: 0 / 1.248 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001273/1.276, allocations: 0.625 kB / 1.248 GB, free: 9.93 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.005642/1.282, allocations: 2.78 MB / 1.251 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/1.282, allocations: 14.59 kB / 1.251 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004166/1.286, allocations: 0.5598 MB / 1.252 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002965/1.289, allocations: 1.603 MB / 1.253 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.243e-05/1.289, allocations: 128.8 kB / 1.253 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002126/1.29, allocations: 168.1 kB / 1.254 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003885/1.294, allocations: 1.959 MB / 1.255 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.447e-05/1.294, allocations: 0.7031 kB / 1.255 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/1.294, allocations: 76.53 kB / 1.256 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-05/1.294, allocations: 41.95 kB / 1.256 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003815/1.298, allocations: 2.116 MB / 1.258 GB, free: 7.965 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.01091/1.309, allocations: 6.233 MB / 1.264 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004069/1.313, allocations: 2.13 MB / 1.266 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/1.314, allocations: 0.7766 MB / 1.267 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006047/1.315, allocations: 427.3 kB / 1.267 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002229/1.317, allocations: 1.014 MB / 1.268 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 4.87e-06/1.317, allocations: 1.031 kB / 1.268 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.008534/1.326, allocations: 2.994 MB / 1.271 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.701e-05/1.326, allocations: 196.7 kB / 1.271 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002963/1.329, allocations: 1.833 MB / 1.273 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003586/1.329, allocations: 57.09 kB / 1.273 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007642/1.33, allocations: 0.8483 MB / 1.274 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000515/1.33, allocations: 485 kB / 1.274 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000482/1.331, allocations: 258.2 kB / 1.274 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001089/1.331, allocations: 354.1 kB / 1.275 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/1.332, allocations: 0.6064 MB / 1.275 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/1.334, allocations: 0.8147 MB / 1.276 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002737/1.337, allocations: 1.36 MB / 1.278 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/1.337, allocations: 1.594 kB / 1.278 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004502/1.341, allocations: 1.839 MB / 1.279 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/1.341, allocations: 6.469 kB / 1.279 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/1.341, allocations: 5.219 kB / 1.279 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/1.342, allocations: 211.1 kB / 1.28 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/1.344, allocations: 338.1 kB / 1.28 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006221/1.35, allocations: 6.821 MB / 1.287 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00232/1.352, allocations: 191.5 kB / 1.287 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001938/1.353, allocations: 56.5 kB / 1.287 GB, free: 11.83 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.001357/1.354, allocations: 485.7 kB / 1.287 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005682/1.355, allocations: 191.4 kB / 1.287 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004758/1.359, allocations: 2.144 MB / 1.289 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/1.359, allocations: 15.69 kB / 1.289 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/1.359, allocations: 1.094 kB / 1.289 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/1.359, allocations: 9.656 kB / 1.29 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007715/1.367, allocations: 4.026 MB / 1.293 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/1.367, allocations: 0 / 1.293 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/1.369, allocations: 315.7 kB / 1.294 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000934/1.37, allocations: 219.1 kB / 1.294 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001361/1.37, allocations: 43.14 kB / 1.294 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005617/1.375, allocations: 6.838 MB / 1.301 GB, free: 4.586 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.375, allocations: 0 / 1.301 GB, free: 4.586 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004532/1.38, allocations: 2.005 MB / 1.303 GB, free: 4.266 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/1.381, allocations: 472.4 kB / 1.303 GB, free: 4.059 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004003/1.382, allocations: 39.66 kB / 1.303 GB, free: 4.055 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001564/1.383, allocations: 136.7 kB / 1.303 GB, free: 4.043 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000317/1.384, allocations: 111 kB / 1.303 GB, free: 4.043 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001737/1.384, allocations: 69.88 kB / 1.303 GB, free: 4.043 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001636/1.385, allocations: 1.309 MB / 1.305 GB, free: 3.93 MB / 1.014 GB Notification: Performance of sort global known variables: time 6.71e-07/1.385, allocations: 0 / 1.305 GB, free: 3.93 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002461/1.388, allocations: 0.6974 MB / 1.305 GB, free: 3.824 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.001979/1.39, allocations: 0.7487 MB / 1.306 GB, free: 3.633 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003621/1.393, allocations: 2.108 MB / 1.308 GB, free: 3.039 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/1.394, allocations: 4 kB / 1.308 GB, free: 3.039 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002134/1.396, allocations: 1.418 MB / 1.31 GB, free: 2.473 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002682/1.398, allocations: 0.5136 MB / 1.31 GB, free: 2.434 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007435/1.406, allocations: 4.639 MB / 1.315 GB, free: 268 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/1.407, allocations: 1.5 MB / 1.316 GB, free: 15.51 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009098/1.408, allocations: 189.2 kB / 1.316 GB, free: 15.5 MB / 1.029 GB Notification: Performance of SimCode: time 9.02e-07/1.408, allocations: 3.062 kB / 1.316 GB, free: 15.5 MB / 1.029 GB Notification: Performance of Templates: time 0.07937/1.487, allocations: 67.58 MB / 1.382 GB, free: 5.281 MB / 1.061 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/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