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.00513/0.00513, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001111/0.001111, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.156 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.394/2.394, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 66.64 kB / 0.9508 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3026, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1865/0.4892, allocations: 167.2 MB / 1.251 GB, free: 9.598 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.6658/1.155, allocations: 17.19 MB / 1.268 GB, free: 3.523 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001477/1.157, allocations: 33.91 kB / 1.268 GB, free: 3.523 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001567/1.158, allocations: 0.5497 MB / 1.269 GB, free: 3.512 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005144/1.163, allocations: 1.716 MB / 1.27 GB, free: 3.461 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004222/1.168, allocations: 1.437 MB / 1.272 GB, free: 3.426 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004974/1.173, allocations: 2.685 MB / 1.274 GB, free: 3.418 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003258/1.176, allocations: 2.005 MB / 1.276 GB, free: 3.18 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004931/1.181, allocations: 1.448 MB / 1.278 GB, free: 3.16 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002134/1.183, allocations: 1.086 MB / 1.279 GB, free: 3.16 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005064/1.183, allocations: 222.6 kB / 1.279 GB, free: 3.16 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003993/1.187, allocations: 1.563 MB / 1.28 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008453/1.188, allocations: 0.7924 MB / 1.281 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00163/1.19, allocations: 1.187 MB / 1.282 GB, free: 3.027 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007617/1.198, allocations: 3.564 MB / 1.286 GB, free: 2.484 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.198, allocations: 0 / 1.286 GB, free: 2.484 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.903e-06/1.198, allocations: 0 / 1.286 GB, free: 2.484 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001031/1.198, allocations: 1.516 kB / 1.286 GB, free: 2.484 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.00631/1.204, allocations: 2.84 MB / 1.289 GB, free: 1.07 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/1.204, allocations: 9.656 kB / 1.289 GB, free: 1.07 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004191/1.208, allocations: 0.5686 MB / 1.289 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003058/1.211, allocations: 1.656 MB / 1.291 GB, free: 460 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/1.212, allocations: 131.5 kB / 1.291 GB, free: 456 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002515/1.212, allocations: 167.3 kB / 1.291 GB, free: 456 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003976/1.216, allocations: 1.957 MB / 1.293 GB, free: 272 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.542e-05/1.216, allocations: 2.188 kB / 1.293 GB, free: 272 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001952/1.216, allocations: 79.94 kB / 1.293 GB, free: 268 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.413e-05/1.216, allocations: 44.31 kB / 1.293 GB, free: 264 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004085/1.22, allocations: 2.113 MB / 1.295 GB, free: 248 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.01053/1.231, allocations: 5.831 MB / 1.301 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003593/1.234, allocations: 2.129 MB / 1.303 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/1.236, allocations: 0.7715 MB / 1.304 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006125/1.236, allocations: 432.3 kB / 1.304 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001831/1.238, allocations: 1.023 MB / 1.305 GB, free: 13.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=146): time 3.797e-06/1.238, allocations: 0.6562 kB / 1.305 GB, free: 13.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=146): time 0.007644/1.246, allocations: 2.994 MB / 1.308 GB, free: 12.78 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/1.246, allocations: 196.8 kB / 1.308 GB, free: 12.56 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002928/1.249, allocations: 1.827 MB / 1.31 GB, free: 12.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0003497/1.249, allocations: 58.64 kB / 1.31 GB, free: 12.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009268/1.25, allocations: 0.8596 MB / 1.311 GB, free: 12.05 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000505/1.251, allocations: 0.5024 MB / 1.311 GB, free: 11.72 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004276/1.251, allocations: 262 kB / 1.312 GB, free: 11.7 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001625/1.251, allocations: 357.2 kB / 1.312 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/1.253, allocations: 0.6045 MB / 1.313 GB, free: 11.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/1.254, allocations: 0.8141 MB / 1.313 GB, free: 11.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002495/1.256, allocations: 1.354 MB / 1.315 GB, free: 11.19 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/1.257, allocations: 0.9688 kB / 1.315 GB, free: 11.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004043/1.261, allocations: 1.845 MB / 1.317 GB, free: 10.98 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/1.261, allocations: 7.844 kB / 1.317 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/1.261, allocations: 1.062 kB / 1.317 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/1.262, allocations: 215.8 kB / 1.317 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/1.263, allocations: 336.4 kB / 1.317 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006134/1.269, allocations: 7.309 MB / 1.324 GB, free: 4.168 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002293/1.272, allocations: 179.1 kB / 1.324 GB, free: 4.102 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002185/1.272, allocations: 55.56 kB / 1.324 GB, free: 4.102 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.001236/1.273, allocations: 0.4928 MB / 1.325 GB, free: 3.973 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005895/1.274, allocations: 191.3 kB / 1.325 GB, free: 3.871 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004456/1.278, allocations: 2.146 MB / 1.327 GB, free: 3.613 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/1.278, allocations: 14.44 kB / 1.327 GB, free: 3.613 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/1.278, allocations: 6.75 kB / 1.327 GB, free: 3.609 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/1.278, allocations: 9.625 kB / 1.327 GB, free: 3.609 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007579/1.286, allocations: 4.014 MB / 1.331 GB, free: 2.012 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/1.286, allocations: 0 / 1.331 GB, free: 2.012 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/1.287, allocations: 319.3 kB / 1.331 GB, free: 2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008613/1.288, allocations: 206.6 kB / 1.332 GB, free: 1.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/1.288, allocations: 40.03 kB / 1.332 GB, free: 1.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005805/1.294, allocations: 7.365 MB / 1.339 GB, free: 10.68 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.294, allocations: 4 kB / 1.339 GB, free: 10.68 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004756/1.299, allocations: 2.021 MB / 1.341 GB, free: 9.863 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/1.3, allocations: 490.7 kB / 1.341 GB, free: 9.543 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003325/1.301, allocations: 31.02 kB / 1.341 GB, free: 9.523 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/1.302, allocations: 106.3 kB / 1.341 GB, free: 9.5 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002684/1.302, allocations: 111 kB / 1.342 GB, free: 9.484 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/1.303, allocations: 70.17 kB / 1.342 GB, free: 9.473 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001777/1.304, allocations: 1.307 MB / 1.343 GB, free: 9.023 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.8e-07/1.304, allocations: 4.844 kB / 1.343 GB, free: 9.02 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002317/1.307, allocations: 0.6648 MB / 1.344 GB, free: 8.855 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.001996/1.309, allocations: 0.7639 MB / 1.344 GB, free: 8.574 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003598/1.312, allocations: 2.109 MB / 1.346 GB, free: 7.57 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/1.312, allocations: 7.422 kB / 1.346 GB, free: 7.566 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002059/1.314, allocations: 1.423 MB / 1.348 GB, free: 6.762 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002692/1.317, allocations: 0.5232 MB / 1.348 GB, free: 6.566 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00736/1.324, allocations: 4.03 MB / 1.352 GB, free: 4.738 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/1.326, allocations: 1.544 MB / 1.354 GB, free: 3.941 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001972/1.328, allocations: 0.4962 MB / 1.354 GB, free: 3.793 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004951/1.328, allocations: 173.9 kB / 1.354 GB, free: 3.77 MB / 1.045 GB Notification: Performance of SimCode: time 5.91e-07/1.328, allocations: 0 / 1.354 GB, free: 3.77 MB / 1.045 GB Notification: Performance of Templates: time 0.0522/1.38, allocations: 31.62 MB / 1.385 GB, free: 14.57 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