Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.006225/0.006225, allocations: 101.2 kB / 15.73 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.001139/0.001139, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.381/2.381, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 67.14 kB / 0.9508 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2817, allocations: 140.4 MB / 1.088 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1821/0.4638, allocations: 167.3 MB / 1.251 GB, free: 9.621 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.6764/1.14, allocations: 17.18 MB / 1.268 GB, free: 3.496 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/1.142, allocations: 33.38 kB / 1.268 GB, free: 3.496 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001636/1.144, allocations: 0.536 MB / 1.269 GB, free: 3.484 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005312/1.149, allocations: 1.686 MB / 1.27 GB, free: 3.434 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004389/1.153, allocations: 1.423 MB / 1.272 GB, free: 3.398 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004619/1.158, allocations: 2.686 MB / 1.274 GB, free: 3.391 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00333/1.161, allocations: 2.006 MB / 1.276 GB, free: 3.156 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00517/1.167, allocations: 1.424 MB / 1.278 GB, free: 3.133 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002349/1.169, allocations: 1.089 MB / 1.279 GB, free: 3.133 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.00049/1.169, allocations: 223.8 kB / 1.279 GB, free: 3.133 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004497/1.174, allocations: 1.553 MB / 1.28 GB, free: 3.109 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001022/1.175, allocations: 0.8014 MB / 1.281 GB, free: 3.109 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00188/1.177, allocations: 1.187 MB / 1.282 GB, free: 3.004 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007434/1.184, allocations: 3.545 MB / 1.286 GB, free: 2.477 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/1.184, allocations: 0.6562 kB / 1.286 GB, free: 2.477 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.495e-06/1.184, allocations: 0 / 1.286 GB, free: 2.477 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.32e-05/1.184, allocations: 1.688 kB / 1.286 GB, free: 2.477 MB / 1.014 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.005833/1.19, allocations: 2.759 MB / 1.288 GB, free: 1.145 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/1.19, allocations: 10.78 kB / 1.288 GB, free: 1.145 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00401/1.194, allocations: 0.5584 MB / 1.289 GB, free: 1.012 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002892/1.197, allocations: 1.641 MB / 1.291 GB, free: 0.543 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/1.197, allocations: 132 kB / 1.291 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002718/1.198, allocations: 166.4 kB / 1.291 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003714/1.201, allocations: 1.955 MB / 1.293 GB, free: 368 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.368e-05/1.201, allocations: 3.844 kB / 1.293 GB, free: 368 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/1.202, allocations: 78.36 kB / 1.293 GB, free: 364 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.844e-05/1.202, allocations: 40.78 kB / 1.293 GB, free: 364 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003975/1.206, allocations: 2.118 MB / 1.295 GB, free: 348 kB / 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.009258/1.215, allocations: 5.81 MB / 1.301 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003348/1.218, allocations: 2.127 MB / 1.303 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001258/1.219, allocations: 0.7713 MB / 1.304 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006143/1.22, allocations: 433.9 kB / 1.304 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001779/1.222, allocations: 1.01 MB / 1.305 GB, free: 13.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=146): time 3.717e-06/1.222, allocations: 0 / 1.305 GB, free: 13.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=146): time 0.007142/1.229, allocations: 2.99 MB / 1.308 GB, free: 12.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/1.229, allocations: 202.8 kB / 1.308 GB, free: 12.69 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002874/1.232, allocations: 1.827 MB / 1.31 GB, free: 12.51 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002545/1.232, allocations: 57.3 kB / 1.31 GB, free: 12.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009767/1.233, allocations: 0.8466 MB / 1.311 GB, free: 12.19 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004457/1.234, allocations: 483 kB / 1.311 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004099/1.234, allocations: 254.8 kB / 1.311 GB, free: 11.87 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.234, allocations: 358.7 kB / 1.312 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/1.236, allocations: 0.6086 MB / 1.312 GB, free: 11.55 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/1.237, allocations: 0.8169 MB / 1.313 GB, free: 11.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002466/1.239, allocations: 1.357 MB / 1.314 GB, free: 11.35 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.239, allocations: 2.344 kB / 1.314 GB, free: 11.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004088/1.244, allocations: 1.833 MB / 1.316 GB, free: 11.15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/1.244, allocations: 7.531 kB / 1.316 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/1.244, allocations: 0.9375 kB / 1.316 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/1.245, allocations: 212 kB / 1.316 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/1.246, allocations: 344.2 kB / 1.317 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006336/1.253, allocations: 7.32 MB / 1.324 GB, free: 4.328 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002214/1.255, allocations: 161.8 kB / 1.324 GB, free: 4.273 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/1.255, allocations: 57.03 kB / 1.324 GB, free: 4.273 MB / 1.029 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.0016/1.257, allocations: 497.2 kB / 1.325 GB, free: 4.148 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000828/1.257, allocations: 188.2 kB / 1.325 GB, free: 4.055 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0047/1.262, allocations: 2.149 MB / 1.327 GB, free: 3.859 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/1.262, allocations: 16.75 kB / 1.327 GB, free: 3.859 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/1.262, allocations: 5.719 kB / 1.327 GB, free: 3.855 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.896e-05/1.262, allocations: 12.72 kB / 1.327 GB, free: 3.852 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00821/1.27, allocations: 4.003 MB / 1.331 GB, free: 2.266 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/1.27, allocations: 1.094 kB / 1.331 GB, free: 2.266 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/1.272, allocations: 327.1 kB / 1.331 GB, free: 2.254 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009052/1.273, allocations: 192.1 kB / 1.331 GB, free: 2.191 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/1.273, allocations: 46.02 kB / 1.331 GB, free: 2.168 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006003/1.279, allocations: 7.354 MB / 1.339 GB, free: 10.94 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.279, allocations: 2.094 kB / 1.339 GB, free: 10.94 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004815/1.284, allocations: 2.015 MB / 1.341 GB, free: 10.13 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/1.285, allocations: 479.6 kB / 1.341 GB, free: 9.828 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006185/1.286, allocations: 24.91 kB / 1.341 GB, free: 9.809 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001786/1.288, allocations: 113.8 kB / 1.341 GB, free: 9.781 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002975/1.288, allocations: 113.5 kB / 1.341 GB, free: 9.766 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000215/1.288, allocations: 68.34 kB / 1.341 GB, free: 9.754 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002323/1.291, allocations: 1.309 MB / 1.343 GB, free: 9.305 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.4e-07/1.291, allocations: 4.781 kB / 1.343 GB, free: 9.301 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002917/1.293, allocations: 0.6631 MB / 1.343 GB, free: 9.137 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.002479/1.296, allocations: 0.7526 MB / 1.344 GB, free: 8.863 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00397/1.3, allocations: 2.104 MB / 1.346 GB, free: 7.863 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/1.3, allocations: 10.86 kB / 1.346 GB, free: 7.855 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002326/1.302, allocations: 1.425 MB / 1.347 GB, free: 7.055 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00337/1.306, allocations: 0.5237 MB / 1.348 GB, free: 6.859 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00908/1.315, allocations: 3.955 MB / 1.352 GB, free: 5.113 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001895/1.317, allocations: 1.547 MB / 1.353 GB, free: 4.312 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002481/1.319, allocations: 0.4978 MB / 1.354 GB, free: 4.16 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008407/1.32, allocations: 178.4 kB / 1.354 GB, free: 4.137 MB / 1.045 GB Notification: Performance of SimCode: time 1.473e-06/1.32, allocations: 0 / 1.354 GB, free: 4.137 MB / 1.045 GB Notification: Performance of Templates: time 0.06207/1.382, allocations: 32.22 MB / 1.385 GB, free: 14.41 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches