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.0008636/0.0008637, allocations: 99.5 kB / 16.02 MB, free: 76 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.0008721/0.0008726, allocations: 182 kB / 16.92 MB, free: 6.891 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.41/1.41, allocations: 223.3 MB / 241 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.798/2.798, allocations: 462.7 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004706/0.0004706, allocations: 12.22 kB / 0.9034 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3483, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1857/0.534, allocations: 163.9 MB / 1.219 GB, free: 468 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02254/0.5566, allocations: 17.17 MB / 1.236 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002085/0.5587, allocations: 27.81 kB / 1.236 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001774/0.5605, allocations: 481 kB / 1.237 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005192/0.5657, allocations: 1.602 MB / 1.238 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003614/0.5694, allocations: 1.278 MB / 1.239 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004329/0.5737, allocations: 3.109 MB / 1.242 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002625/0.5764, allocations: 1.667 MB / 1.244 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005291/0.5817, allocations: 1.107 MB / 1.245 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001558/0.5832, allocations: 0.9097 MB / 1.246 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002308/0.5835, allocations: 48 kB / 1.246 GB, free: 5 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003291/0.5868, allocations: 1.513 MB / 1.248 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005898/0.5874, allocations: 0.5993 MB / 1.248 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.5887, allocations: 1.015 MB / 1.249 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.6456/1.234, allocations: 2.608 MB / 1.252 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.929e-06/1.234, allocations: 1.531 kB / 1.252 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.037e-06/1.234, allocations: 0 / 1.252 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001167/1.235, allocations: 0 / 1.252 GB, free: 9.367 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.005007/1.24, allocations: 2.334 MB / 1.254 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/1.24, allocations: 14.92 kB / 1.254 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004157/1.244, allocations: 0.5676 MB / 1.255 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003317/1.247, allocations: 1.601 MB / 1.256 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/1.247, allocations: 131.9 kB / 1.256 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002394/1.248, allocations: 168 kB / 1.256 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003727/1.251, allocations: 1.968 MB / 1.258 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/1.251, allocations: 3.281 kB / 1.258 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001771/1.251, allocations: 72.41 kB / 1.258 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.711e-05/1.252, allocations: 42.69 kB / 1.258 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003753/1.255, allocations: 2.135 MB / 1.261 GB, free: 7.445 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.01008/1.265, allocations: 6.269 MB / 1.267 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003904/1.269, allocations: 2.149 MB / 1.269 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/1.271, allocations: 0.7818 MB / 1.27 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005403/1.271, allocations: 428 kB / 1.27 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002039/1.273, allocations: 1.03 MB / 1.271 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 3.777e-06/1.273, allocations: 4 kB / 1.271 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.008558/1.282, allocations: 3.027 MB / 1.274 GB, free: 19.52 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/1.282, allocations: 203.3 kB / 1.274 GB, free: 19.29 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002994/1.285, allocations: 1.83 MB / 1.276 GB, free: 19.12 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003571/1.286, allocations: 56.64 kB / 1.276 GB, free: 19.09 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006955/1.286, allocations: 0.851 MB / 1.277 GB, free: 18.8 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004933/1.287, allocations: 482.6 kB / 1.277 GB, free: 18.49 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/1.287, allocations: 107.6 kB / 1.277 GB, free: 18.48 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001597/1.287, allocations: 356.3 kB / 1.278 GB, free: 18.17 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001382/1.289, allocations: 0.6117 MB / 1.278 GB, free: 18.17 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001577/1.29, allocations: 0.8229 MB / 1.279 GB, free: 18.01 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002607/1.293, allocations: 1.374 MB / 1.28 GB, free: 17.95 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/1.293, allocations: 0.5156 kB / 1.28 GB, free: 17.95 MB / 1.014 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004406/1.297, allocations: 1.858 MB / 1.282 GB, free: 17.74 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/1.297, allocations: 6.25 kB / 1.282 GB, free: 17.74 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/1.297, allocations: 5.922 kB / 1.282 GB, free: 17.74 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/1.298, allocations: 211.1 kB / 1.282 GB, free: 17.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/1.3, allocations: 349.2 kB / 1.283 GB, free: 17.69 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00584/1.306, allocations: 6.83 MB / 1.289 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/1.308, allocations: 195.9 kB / 1.29 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/1.308, allocations: 63.02 kB / 1.29 GB, free: 11.29 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.001041/1.309, allocations: 488.7 kB / 1.29 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003833/1.31, allocations: 186.1 kB / 1.29 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004806/1.315, allocations: 2.168 MB / 1.292 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-05/1.315, allocations: 19.88 kB / 1.292 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/1.315, allocations: 5.062 kB / 1.292 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-05/1.315, allocations: 6.797 kB / 1.292 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007751/1.323, allocations: 4.038 MB / 1.296 GB, free: 10.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/1.323, allocations: 0 / 1.296 GB, free: 10.43 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001498/1.324, allocations: 325.5 kB / 1.297 GB, free: 10.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009424/1.325, allocations: 212.1 kB / 1.297 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001274/1.325, allocations: 42.75 kB / 1.297 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005447/1.331, allocations: 6.85 MB / 1.304 GB, free: 4.039 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.331, allocations: 0 / 1.304 GB, free: 4.039 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004766/1.335, allocations: 2.029 MB / 1.306 GB, free: 3.719 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/1.337, allocations: 494.4 kB / 1.306 GB, free: 3.508 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003137/1.337, allocations: 25.31 kB / 1.306 GB, free: 3.508 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/1.339, allocations: 158.4 kB / 1.306 GB, free: 3.492 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002645/1.339, allocations: 120.6 kB / 1.306 GB, free: 3.484 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/1.339, allocations: 67.06 kB / 1.306 GB, free: 3.484 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001531/1.341, allocations: 1.31 MB / 1.308 GB, free: 3.375 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.01e-07/1.341, allocations: 0 / 1.308 GB, free: 3.375 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002125/1.343, allocations: 0.6969 MB / 1.308 GB, free: 3.27 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.001788/1.344, allocations: 0.7569 MB / 1.309 GB, free: 3.039 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0035/1.348, allocations: 2.127 MB / 1.311 GB, free: 2.445 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/1.348, allocations: 0.5625 kB / 1.311 GB, free: 2.445 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002039/1.35, allocations: 1.438 MB / 1.313 GB, free: 1.875 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002779/1.353, allocations: 0.5109 MB / 1.313 GB, free: 1.836 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007165/1.36, allocations: 4.653 MB / 1.318 GB, free: 15.67 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/1.361, allocations: 1.5 MB / 1.319 GB, free: 14.91 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008942/1.362, allocations: 198.9 kB / 1.319 GB, free: 14.91 MB / 1.029 GB Notification: Performance of SimCode: time 1.082e-06/1.362, allocations: 0 / 1.319 GB, free: 14.91 MB / 1.029 GB Notification: Performance of Templates: time 0.07913/1.441, allocations: 67.3 MB / 1.385 GB, free: 5.641 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