Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001009/0.001009, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001306/0.001306, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 223.3 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.653/2.653, allocations: 437.7 MB / 0.7117 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003359, allocations: 12 kB / 0.8722 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5567/0.5571, allocations: 153.8 MB / 1.022 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1525/0.7096, allocations: 152.9 MB / 1.172 GB, free: 6.652 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01856/0.7282, allocations: 16.1 MB / 1.187 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.7293, allocations: 27.81 kB / 1.187 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.7304, allocations: 425 kB / 1.188 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003501/0.734, allocations: 1.407 MB / 1.189 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002872/0.7368, allocations: 1.117 MB / 1.19 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003192/0.74, allocations: 2.777 MB / 1.193 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002007/0.7421, allocations: 1.461 MB / 1.194 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001968/0.744, allocations: 1.027 MB / 1.195 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.7456, allocations: 0.8945 MB / 1.196 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002233/0.7459, allocations: 52 kB / 1.196 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002651/0.7485, allocations: 1.014 MB / 1.197 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0005406/0.7491, allocations: 0.5839 MB / 1.198 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004662/0.7496, allocations: 432.5 kB / 1.198 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002858/0.7524, allocations: 2.583 MB / 1.201 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.7525, allocations: 0 / 1.201 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7525, allocations: 0 / 1.201 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.425e-05/0.7525, allocations: 0 / 1.201 GB, free: 8.664 MB / 0.9512 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.003723/0.7562, allocations: 2.366 MB / 1.203 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.7563, allocations: 8.031 kB / 1.203 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003339/0.7596, allocations: 0.5591 MB / 1.204 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/0.7617, allocations: 1.55 MB / 1.205 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.7619, allocations: 135.3 kB / 1.205 GB, free: 3.934 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002009/0.7621, allocations: 172 kB / 1.206 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003185/0.7653, allocations: 1.945 MB / 1.207 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/0.7653, allocations: 3.938 kB / 1.207 GB, free: 1.766 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/0.7655, allocations: 80 kB / 1.208 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/0.7655, allocations: 40 kB / 1.208 GB, free: 1.648 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003391/0.7689, allocations: 2.12 MB / 1.21 GB, free: 15.52 MB / 0.9669 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.008033/0.7769, allocations: 6.261 MB / 1.216 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003108/0.7801, allocations: 2.129 MB / 1.218 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.7813, allocations: 0.7725 MB / 1.219 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000538/0.7819, allocations: 433.6 kB / 1.219 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001638/0.7835, allocations: 1.032 MB / 1.22 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=146): time 3.055e-06/0.7835, allocations: 0 / 1.22 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of matching and sorting (n=146): time 0.006171/0.7897, allocations: 3.02 MB / 1.223 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.67e-05/0.7898, allocations: 197.2 kB / 1.223 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002106/0.7919, allocations: 1.818 MB / 1.225 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001212/0.7921, allocations: 57.7 kB / 1.225 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006542/0.7927, allocations: 0.843 MB / 1.226 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003728/0.7931, allocations: 484.8 kB / 1.226 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.899e-05/0.7932, allocations: 35.94 kB / 1.226 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.7933, allocations: 353.9 kB / 1.227 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.7944, allocations: 0.6116 MB / 1.227 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.7957, allocations: 0.813 MB / 1.228 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.797, allocations: 0.6818 MB / 1.229 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.797, allocations: 4 kB / 1.229 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003587/0.8006, allocations: 1.846 MB / 1.231 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.8006, allocations: 4 kB / 1.231 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.8006, allocations: 0 / 1.231 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009624/0.8016, allocations: 220.1 kB / 1.231 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/0.8031, allocations: 343.5 kB / 1.231 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005452/0.8086, allocations: 6.817 MB / 1.238 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.8103, allocations: 201.4 kB / 1.238 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/0.8105, allocations: 59.95 kB / 1.238 GB, free: 1.062 MB / 0.9825 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009688/0.8114, allocations: 491.2 kB / 1.238 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003236/0.8118, allocations: 181.8 kB / 1.239 GB, free: 400 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004644/0.8164, allocations: 2.172 MB / 1.241 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/0.8165, allocations: 16 kB / 1.241 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.8165, allocations: 0 / 1.241 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.028e-05/0.8165, allocations: 11.97 kB / 1.241 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006592/0.8231, allocations: 4.032 MB / 1.245 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.8231, allocations: 0 / 1.245 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001434/0.8246, allocations: 331.5 kB / 1.245 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008653/0.8254, allocations: 216 kB / 1.245 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.651e-05/0.8256, allocations: 39.97 kB / 1.245 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005161/0.8307, allocations: 6.827 MB / 1.252 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.8307, allocations: 0 / 1.252 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4794/1.31, allocations: 2.013 MB / 1.254 GB, free: 225 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/1.312, allocations: 493.3 kB / 1.254 GB, free: 224.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005295/1.312, allocations: 33.72 kB / 1.254 GB, free: 224.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001585/1.314, allocations: 162 kB / 1.255 GB, free: 224.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003057/1.314, allocations: 114.8 kB / 1.255 GB, free: 224.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001804/1.314, allocations: 70.58 kB / 1.255 GB, free: 224.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002146/1.316, allocations: 1.294 MB / 1.256 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.01e-07/1.316, allocations: 0 / 1.256 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002168/1.319, allocations: 0.6862 MB / 1.257 GB, free: 224.8 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001755/1.32, allocations: 0.7461 MB / 1.257 GB, free: 224.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003762/1.324, allocations: 2.111 MB / 1.259 GB, free: 224.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/1.324, allocations: 2.5 kB / 1.259 GB, free: 224.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002138/1.326, allocations: 1.432 MB / 1.261 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/1.329, allocations: 0.5171 MB / 1.261 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007725/1.337, allocations: 4.629 MB / 1.266 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001329/1.338, allocations: 1.535 MB / 1.267 GB, free: 220.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002119/1.34, allocations: 0.5 MB / 1.268 GB, free: 220 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005258/1.341, allocations: 171.3 kB / 1.268 GB, free: 220 MB / 0.9981 GB Notification: Performance of SimCode: time 7.51e-07/1.341, allocations: 0 / 1.268 GB, free: 220 MB / 0.9981 GB Notification: Performance of Templates: time 0.04387/1.384, allocations: 29.7 MB / 1.297 GB, free: 203.8 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches