Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001865/0.001865, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.002057/0.002057, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.413/1.413, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.68/2.68, allocations: 469.8 MB / 0.743 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 63.53 kB / 0.9092 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3555, allocations: 159.1 MB / 1.065 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.7495/1.105, allocations: 168.4 MB / 1.229 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02639/1.132, allocations: 17.35 MB / 1.246 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002436/1.134, allocations: 31.81 kB / 1.246 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002397/1.136, allocations: 0.5699 MB / 1.247 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006583/1.143, allocations: 1.782 MB / 1.248 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004441/1.148, allocations: 1.429 MB / 1.25 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004592/1.152, allocations: 2.871 MB / 1.253 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00351/1.156, allocations: 1.947 MB / 1.254 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004984/1.161, allocations: 1.418 MB / 1.256 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002219/1.163, allocations: 1.124 MB / 1.257 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0008752/1.164, allocations: 223.9 kB / 1.257 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004005/1.168, allocations: 1.525 MB / 1.259 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.00121/1.169, allocations: 0.7946 MB / 1.259 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002519/1.172, allocations: 1.224 MB / 1.261 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006767/1.178, allocations: 3.544 MB / 1.264 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/1.178, allocations: 8 kB / 1.264 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.675e-06/1.178, allocations: 0 / 1.264 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001239/1.179, allocations: 3.984 kB / 1.264 GB, free: 12.43 MB / 0.9825 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.006433/1.185, allocations: 2.783 MB / 1.267 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/1.185, allocations: 12.03 kB / 1.267 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003847/1.189, allocations: 0.5589 MB / 1.267 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00299/1.192, allocations: 1.604 MB / 1.269 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/1.192, allocations: 131.4 kB / 1.269 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002591/1.192, allocations: 168 kB / 1.269 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003799/1.196, allocations: 1.956 MB / 1.271 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/1.196, allocations: 0 / 1.271 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001796/1.196, allocations: 75.94 kB / 1.271 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-05/1.196, allocations: 47.98 kB / 1.271 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003862/1.2, allocations: 2.124 MB / 1.273 GB, free: 2.801 MB / 0.9825 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.01054/1.211, allocations: 6.252 MB / 1.279 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003623/1.215, allocations: 2.144 MB / 1.282 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/1.216, allocations: 0.7732 MB / 1.282 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006256/1.217, allocations: 429.6 kB / 1.283 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001843/1.218, allocations: 1.017 MB / 1.284 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 2.815e-06/1.218, allocations: 0 / 1.284 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.007294/1.226, allocations: 2.985 MB / 1.287 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/1.226, allocations: 205.2 kB / 1.287 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00267/1.229, allocations: 1.826 MB / 1.289 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002096/1.229, allocations: 61.7 kB / 1.289 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008234/1.23, allocations: 0.843 MB / 1.289 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005021/1.23, allocations: 488.9 kB / 1.29 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000419/1.231, allocations: 258.8 kB / 1.29 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001679/1.231, allocations: 357.9 kB / 1.291 GB, free: 492 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/1.232, allocations: 0.6077 MB / 1.291 GB, free: 15.87 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/1.233, allocations: 0.8151 MB / 1.292 GB, free: 15 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002553/1.236, allocations: 1.357 MB / 1.293 GB, free: 13.63 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/1.236, allocations: 4 kB / 1.293 GB, free: 13.63 MB / 1.014 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004294/1.24, allocations: 1.83 MB / 1.295 GB, free: 11.77 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/1.24, allocations: 7.938 kB / 1.295 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/1.24, allocations: 7.938 kB / 1.295 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/1.242, allocations: 212.2 kB / 1.295 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/1.243, allocations: 339.5 kB / 1.296 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006715/1.25, allocations: 7.326 MB / 1.303 GB, free: 3.172 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/1.252, allocations: 174.9 kB / 1.303 GB, free: 3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/1.252, allocations: 67.95 kB / 1.303 GB, free: 2.934 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.001069/1.253, allocations: 487.2 kB / 1.303 GB, free: 2.445 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004269/1.253, allocations: 185.7 kB / 1.304 GB, free: 2.262 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004709/1.258, allocations: 2.145 MB / 1.306 GB, free: 92 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.97e-05/1.258, allocations: 16 kB / 1.306 GB, free: 76 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.258, allocations: 4 kB / 1.306 GB, free: 72 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/1.258, allocations: 7.969 kB / 1.306 GB, free: 64 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007431/1.266, allocations: 4.008 MB / 1.31 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/1.266, allocations: 0 / 1.31 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00152/1.267, allocations: 327.5 kB / 1.31 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009162/1.268, allocations: 208 kB / 1.31 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/1.268, allocations: 39.97 kB / 1.31 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006635/1.275, allocations: 7.359 MB / 1.317 GB, free: 3.336 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.275, allocations: 3.938 kB / 1.317 GB, free: 3.332 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004602/1.28, allocations: 2.01 MB / 1.319 GB, free: 1.289 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009613/1.281, allocations: 470.3 kB / 1.32 GB, free: 0.8086 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000254/1.281, allocations: 31.98 kB / 1.32 GB, free: 0.7773 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/1.282, allocations: 109.9 kB / 1.32 GB, free: 0.6719 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002631/1.282, allocations: 109.2 kB / 1.32 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/1.283, allocations: 71.94 kB / 1.32 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001827/1.284, allocations: 1.31 MB / 1.321 GB, free: 15.19 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.61e-07/1.284, allocations: 4 kB / 1.321 GB, free: 15.19 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001994/1.286, allocations: 0.682 MB / 1.322 GB, free: 14.5 MB / 1.045 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.002348/1.289, allocations: 0.7521 MB / 1.323 GB, free: 13.93 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005848/1.295, allocations: 2.55 MB / 1.325 GB, free: 11.32 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/1.295, allocations: 4.562 kB / 1.325 GB, free: 11.31 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002363/1.297, allocations: 1.415 MB / 1.327 GB, free: 9.836 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002725/1.3, allocations: 0.5515 MB / 1.327 GB, free: 9.309 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00758/1.307, allocations: 3.851 MB / 1.331 GB, free: 5.422 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001296/1.309, allocations: 1.498 MB / 1.332 GB, free: 3.895 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008631/1.31, allocations: 191.3 kB / 1.333 GB, free: 3.707 MB / 1.045 GB Notification: Performance of SimCode: time 1.132e-06/1.31, allocations: 0 / 1.333 GB, free: 3.707 MB / 1.045 GB Notification: Performance of Templates: time 0.08616/1.396, allocations: 67.58 MB / 1.399 GB, free: 192 kB / 1.107 GB make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches