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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001353/0.001353, allocations: 104 kB / 16.27 MB, free: 5.984 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.001261/0.001261, allocations: 191.2 kB / 17.2 MB, free: 5.609 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.388/1.388, allocations: 222.9 MB / 240.9 MB, free: 4.113 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.859/2.859, allocations: 482.4 MB / 0.7553 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 69.77 kB / 0.9245 GB, free: 29.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3239, allocations: 162.2 MB / 1.083 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.206/0.53, allocations: 168.5 MB / 1.247 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5959/1.126, allocations: 17.34 MB / 1.264 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001843/1.128, allocations: 31.28 kB / 1.264 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00172/1.13, allocations: 0.5711 MB / 1.265 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005432/1.135, allocations: 1.782 MB / 1.267 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004084/1.139, allocations: 1.433 MB / 1.268 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004643/1.144, allocations: 2.863 MB / 1.271 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003001/1.147, allocations: 1.952 MB / 1.273 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00471/1.151, allocations: 1.423 MB / 1.274 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002385/1.154, allocations: 1.118 MB / 1.275 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005515/1.154, allocations: 221.6 kB / 1.276 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003946/1.158, allocations: 1.524 MB / 1.277 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009276/1.159, allocations: 0.7972 MB / 1.278 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001807/1.161, allocations: 1.234 MB / 1.279 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006828/1.168, allocations: 3.541 MB / 1.282 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.168, allocations: 1.578 kB / 1.282 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.294e-06/1.168, allocations: 0 / 1.282 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000101/1.168, allocations: 0.9688 kB / 1.282 GB, free: 6.082 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.007853/1.176, allocations: 2.787 MB / 1.285 GB, free: 20.74 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/1.176, allocations: 9.734 kB / 1.285 GB, free: 20.74 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004183/1.18, allocations: 0.5567 MB / 1.286 GB, free: 20.61 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003615/1.184, allocations: 1.605 MB / 1.287 GB, free: 20.14 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/1.184, allocations: 132 kB / 1.287 GB, free: 20.13 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000403/1.185, allocations: 165.7 kB / 1.288 GB, free: 20.13 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004439/1.189, allocations: 1.965 MB / 1.289 GB, free: 19.95 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.913e-05/1.189, allocations: 4.75 kB / 1.289 GB, free: 19.94 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002363/1.189, allocations: 74.31 kB / 1.29 GB, free: 19.94 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-05/1.189, allocations: 41.44 kB / 1.29 GB, free: 19.94 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003842/1.193, allocations: 2.117 MB / 1.292 GB, free: 19.93 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01108/1.204, allocations: 6.442 MB / 1.298 GB, free: 17.38 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003716/1.208, allocations: 2.145 MB / 1.3 GB, free: 16.95 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/1.209, allocations: 0.7735 MB / 1.301 GB, free: 16.93 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006623/1.21, allocations: 431.1 kB / 1.301 GB, free: 16.55 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001847/1.212, allocations: 1.016 MB / 1.302 GB, free: 16.47 MB / 1.014 GB Notification: Performance of pre-optimization done (n=146): time 3.778e-06/1.212, allocations: 0 / 1.302 GB, free: 16.47 MB / 1.014 GB Notification: Performance of matching and sorting (n=146): time 0.007207/1.219, allocations: 2.989 MB / 1.305 GB, free: 15.79 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/1.219, allocations: 195.1 kB / 1.305 GB, free: 15.57 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003016/1.222, allocations: 1.827 MB / 1.307 GB, free: 15.4 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004195/1.223, allocations: 60.27 kB / 1.307 GB, free: 15.37 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007077/1.224, allocations: 0.8558 MB / 1.308 GB, free: 15.07 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004724/1.224, allocations: 479.9 kB / 1.308 GB, free: 14.77 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004444/1.225, allocations: 256.8 kB / 1.309 GB, free: 14.75 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001814/1.225, allocations: 357.7 kB / 1.309 GB, free: 14.44 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/1.226, allocations: 0.6081 MB / 1.31 GB, free: 14.44 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/1.227, allocations: 0.8083 MB / 1.31 GB, free: 14.29 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002362/1.23, allocations: 1.362 MB / 1.312 GB, free: 14.24 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/1.23, allocations: 1.969 kB / 1.312 GB, free: 14.24 MB / 1.014 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004197/1.234, allocations: 1.845 MB / 1.314 GB, free: 13.58 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/1.234, allocations: 6.594 kB / 1.314 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/1.234, allocations: 0 / 1.314 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009994/1.235, allocations: 217.1 kB / 1.314 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/1.236, allocations: 337.9 kB / 1.314 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006157/1.243, allocations: 7.32 MB / 1.321 GB, free: 6.293 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/1.245, allocations: 173.3 kB / 1.321 GB, free: 6.207 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001926/1.245, allocations: 52.73 kB / 1.321 GB, free: 6.199 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.001153/1.246, allocations: 491.7 kB / 1.322 GB, free: 5.934 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005192/1.247, allocations: 186.3 kB / 1.322 GB, free: 5.84 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004549/1.251, allocations: 2.145 MB / 1.324 GB, free: 5.059 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/1.251, allocations: 17.94 kB / 1.324 GB, free: 5.059 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/1.251, allocations: 4.062 kB / 1.324 GB, free: 5.059 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/1.251, allocations: 9.844 kB / 1.324 GB, free: 5.055 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007283/1.259, allocations: 4.021 MB / 1.328 GB, free: 3.449 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/1.259, allocations: 0 / 1.328 GB, free: 3.449 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/1.26, allocations: 327 kB / 1.328 GB, free: 3.438 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009399/1.261, allocations: 193.9 kB / 1.329 GB, free: 3.375 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001349/1.261, allocations: 45.02 kB / 1.329 GB, free: 3.355 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006445/1.268, allocations: 7.365 MB / 1.336 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.268, allocations: 0 / 1.336 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004628/1.272, allocations: 2.012 MB / 1.338 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/1.273, allocations: 469.4 kB / 1.338 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002895/1.274, allocations: 31.94 kB / 1.338 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/1.275, allocations: 105.6 kB / 1.338 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002592/1.275, allocations: 116.9 kB / 1.339 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/1.275, allocations: 71.75 kB / 1.339 GB, free: 10.92 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001732/1.277, allocations: 1.306 MB / 1.34 GB, free: 10.47 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.104e-06/1.277, allocations: 0 / 1.34 GB, free: 10.47 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002259/1.279, allocations: 0.6935 MB / 1.341 GB, free: 10.3 MB / 1.029 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.002389/1.282, allocations: 0.7548 MB / 1.341 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00552/1.287, allocations: 2.541 MB / 1.344 GB, free: 8.973 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/1.287, allocations: 3.656 kB / 1.344 GB, free: 8.973 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0022/1.29, allocations: 1.42 MB / 1.345 GB, free: 8.176 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003004/1.293, allocations: 0.5542 MB / 1.346 GB, free: 7.969 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00735/1.3, allocations: 3.834 MB / 1.349 GB, free: 6.207 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/1.301, allocations: 1.504 MB / 1.351 GB, free: 5.414 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00095/1.302, allocations: 203.2 kB / 1.351 GB, free: 5.391 MB / 1.029 GB Notification: Performance of SimCode: time 1.021e-06/1.302, allocations: 0 / 1.351 GB, free: 5.391 MB / 1.029 GB Notification: Performance of Templates: time 0.0837/1.386, allocations: 67.58 MB / 1.417 GB, free: 12.76 MB / 1.092 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=400 -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