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.001472/0.001472, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001708/0.001708, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.51/1.51, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.877/2.877, allocations: 472.6 MB / 0.7447 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 66.06 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3527, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1914/0.5442, allocations: 166.1 MB / 1.23 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02079/0.565, allocations: 17.4 MB / 1.247 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.5665, allocations: 35.81 kB / 1.247 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.5681, allocations: 489 kB / 1.247 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004704/0.5728, allocations: 1.594 MB / 1.249 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.6334/1.206, allocations: 1.27 MB / 1.25 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004997/1.211, allocations: 3.115 MB / 1.253 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003354/1.215, allocations: 1.809 MB / 1.255 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00612/1.221, allocations: 1.257 MB / 1.256 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001837/1.223, allocations: 1.102 MB / 1.257 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003452/1.223, allocations: 119.3 kB / 1.257 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003108/1.226, allocations: 1.573 MB / 1.259 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007881/1.227, allocations: 0.7018 MB / 1.26 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001583/1.228, allocations: 1.132 MB / 1.261 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005207/1.234, allocations: 3.517 MB / 1.264 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/1.234, allocations: 5.297 kB / 1.264 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.312e-06/1.234, allocations: 0 / 1.264 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001378/1.234, allocations: 0 / 1.264 GB, free: 6.574 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.006239/1.24, allocations: 2.794 MB / 1.267 GB, free: 21.21 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/1.24, allocations: 9.484 kB / 1.267 GB, free: 21.21 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003979/1.244, allocations: 0.5641 MB / 1.267 GB, free: 21.07 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002777/1.247, allocations: 1.597 MB / 1.269 GB, free: 20.61 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/1.247, allocations: 131.8 kB / 1.269 GB, free: 20.6 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000265/1.247, allocations: 168.1 kB / 1.269 GB, free: 20.6 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003909/1.251, allocations: 1.958 MB / 1.271 GB, free: 20.41 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.079e-05/1.251, allocations: 0 / 1.271 GB, free: 20.41 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001834/1.252, allocations: 76.42 kB / 1.271 GB, free: 20.41 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-05/1.252, allocations: 41.28 kB / 1.271 GB, free: 20.41 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004324/1.256, allocations: 2.114 MB / 1.273 GB, free: 20.39 MB / 1.014 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.0105/1.266, allocations: 6.233 MB / 1.279 GB, free: 18.06 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003392/1.27, allocations: 2.14 MB / 1.281 GB, free: 17.62 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/1.271, allocations: 0.7714 MB / 1.282 GB, free: 17.61 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006674/1.272, allocations: 429.8 kB / 1.283 GB, free: 17.22 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002022/1.274, allocations: 1.029 MB / 1.284 GB, free: 17.13 MB / 1.014 GB Notification: Performance of pre-optimization done (n=146): time 3.347e-06/1.274, allocations: 0 / 1.284 GB, free: 17.13 MB / 1.014 GB Notification: Performance of matching and sorting (n=146): time 0.007291/1.281, allocations: 2.986 MB / 1.287 GB, free: 16.43 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/1.281, allocations: 203 kB / 1.287 GB, free: 16.21 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003466/1.285, allocations: 1.83 MB / 1.289 GB, free: 16.04 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0005435/1.285, allocations: 58.98 kB / 1.289 GB, free: 16 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006884/1.286, allocations: 0.8435 MB / 1.289 GB, free: 15.71 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004453/1.287, allocations: 491.1 kB / 1.29 GB, free: 15.4 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004348/1.287, allocations: 254 kB / 1.29 GB, free: 15.38 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001411/1.287, allocations: 357 kB / 1.29 GB, free: 15.08 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/1.289, allocations: 0.6024 MB / 1.291 GB, free: 15.07 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/1.29, allocations: 0.8173 MB / 1.292 GB, free: 14.92 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002418/1.292, allocations: 1.354 MB / 1.293 GB, free: 14.86 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/1.292, allocations: 1.375 kB / 1.293 GB, free: 14.86 MB / 1.014 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004254/1.297, allocations: 1.838 MB / 1.295 GB, free: 14.65 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/1.297, allocations: 5.875 kB / 1.295 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.297, allocations: 1.188 kB / 1.295 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/1.298, allocations: 214.2 kB / 1.295 GB, free: 14.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/1.3, allocations: 339.2 kB / 1.295 GB, free: 14.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005608/1.305, allocations: 6.823 MB / 1.302 GB, free: 8.254 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/1.307, allocations: 182.2 kB / 1.302 GB, free: 8.195 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/1.307, allocations: 60.27 kB / 1.302 GB, free: 8.191 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.00113/1.308, allocations: 489.7 kB / 1.303 GB, free: 8.074 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004642/1.309, allocations: 185.8 kB / 1.303 GB, free: 7.977 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004317/1.313, allocations: 2.148 MB / 1.305 GB, free: 7.781 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/1.313, allocations: 16.16 kB / 1.305 GB, free: 7.781 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/1.313, allocations: 5.625 kB / 1.305 GB, free: 7.781 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/1.313, allocations: 10.19 kB / 1.305 GB, free: 7.777 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007049/1.32, allocations: 4.01 MB / 1.309 GB, free: 7.328 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/1.32, allocations: 6.156 kB / 1.309 GB, free: 7.328 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001503/1.322, allocations: 320.7 kB / 1.309 GB, free: 7.324 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009404/1.323, allocations: 213.6 kB / 1.31 GB, free: 7.273 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/1.323, allocations: 42.34 kB / 1.31 GB, free: 7.273 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005402/1.328, allocations: 6.842 MB / 1.316 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.328, allocations: 0 / 1.316 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004124/1.333, allocations: 2.006 MB / 1.318 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/1.334, allocations: 477.2 kB / 1.319 GB, free: 404 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004355/1.334, allocations: 28 kB / 1.319 GB, free: 404 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001625/1.336, allocations: 141.2 kB / 1.319 GB, free: 392 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002712/1.336, allocations: 112 kB / 1.319 GB, free: 392 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001831/1.336, allocations: 76.8 kB / 1.319 GB, free: 388 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001832/1.338, allocations: 1.307 MB / 1.32 GB, free: 276 kB / 1.014 GB Notification: Performance of sort global known variables: time 2.1e-07/1.338, allocations: 0 / 1.32 GB, free: 276 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.002122/1.34, allocations: 0.6877 MB / 1.321 GB, free: 168 kB / 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.002039/1.342, allocations: 0.7642 MB / 1.322 GB, free: 15.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003621/1.346, allocations: 2.102 MB / 1.324 GB, free: 15.33 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/1.346, allocations: 2.969 kB / 1.324 GB, free: 15.33 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002191/1.348, allocations: 1.431 MB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002996/1.351, allocations: 0.5015 MB / 1.326 GB, free: 14.71 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008289/1.359, allocations: 4.747 MB / 1.33 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001423/1.361, allocations: 1.54 MB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002426/1.363, allocations: 0.501 MB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007157/1.364, allocations: 172.6 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of SimCode: time 8.32e-07/1.364, allocations: 0 / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of Templates: time 0.0533/1.417, allocations: 30.88 MB / 1.363 GB, free: 13.13 MB / 1.045 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